projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8543669
)
drm/i915: add IS_IVYBRIDGE macro for checks
author
Jesse Barnes
<
[email protected]
>
Thu, 28 Apr 2011 21:33:09 +0000
(14:33 -0700)
committer
Keith Packard
<
[email protected]
>
Sat, 14 May 2011 00:04:29 +0000
(17:04 -0700)
Reviewed-by: Keith Packard <
[email protected]
>
Signed-off-by: Keith Packard <
[email protected]
>
drivers/gpu/drm/i915/i915_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.h
b/drivers/gpu/drm/i915/i915_drv.h
index 8a0fa14ee7143ba74202e59b00e6023ec1deba7b..bb8e839d2ac83c39519212301ccab589b5381f0d 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.h
+++ b/
drivers/gpu/drm/i915/i915_drv.h
@@
-229,6
+229,7
@@
struct intel_device_info {
u8 is_pineview : 1;
u8 is_broadwater : 1;
u8 is_crestline : 1;
+ u8 is_ivybridge : 1;
u8 has_fbc : 1;
u8 has_pipe_cxsr : 1;
u8 has_hotplug : 1;
@@
-933,6
+934,7
@@
enum intel_chip_family {
#define IS_G33(dev) (INTEL_INFO(dev)->is_g33)
#define IS_IRONLAKE_D(dev) ((dev)->pci_device == 0x0042)
#define IS_IRONLAKE_M(dev) ((dev)->pci_device == 0x0046)
+#define IS_IVYBRIDGE(dev) (INTEL_INFO(dev)->is_ivybridge)
#define IS_MOBILE(dev) (INTEL_INFO(dev)->is_mobile)
/*