aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-05 11:49:51 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-05 18:18:31 -0500
commite3c4e5dd5ad1993a3687862c982272f8f00cae30 (patch)
tree41203ccc9e985bea9358125169b064d2a8f16ba0 /drivers/gpu
parent3c8cdf9b60b98c5b408e2cfbcab3160e25e5af5a (diff)
drm/i915: caps.has_rc6 is no longer used, remove it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c1
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c6
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
3 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index aedb02157474..22821994b35a 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -73,7 +73,6 @@ static int i915_capabilities(struct seq_file *m, void *data)
73 B(is_broadwater); 73 B(is_broadwater);
74 B(is_crestline); 74 B(is_crestline);
75 B(has_fbc); 75 B(has_fbc);
76 B(has_rc6);
77 B(has_pipe_cxsr); 76 B(has_pipe_cxsr);
78 B(has_hotplug); 77 B(has_hotplug);
79 B(cursor_needs_physical); 78 B(cursor_needs_physical);
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 413a040386a9..91a3ad2cf942 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -111,7 +111,7 @@ static const struct intel_device_info intel_i965g_info = {
111 111
112static const struct intel_device_info intel_i965gm_info = { 112static const struct intel_device_info intel_i965gm_info = {
113 .gen = 4, .is_crestline = 1, 113 .gen = 4, .is_crestline = 1,
114 .is_mobile = 1, .has_fbc = 1, .has_rc6 = 1, .has_hotplug = 1, 114 .is_mobile = 1, .has_fbc = 1, .has_hotplug = 1,
115 .has_overlay = 1, 115 .has_overlay = 1,
116 .supports_tv = 1, 116 .supports_tv = 1,
117}; 117};
@@ -130,7 +130,7 @@ static const struct intel_device_info intel_g45_info = {
130 130
131static const struct intel_device_info intel_gm45_info = { 131static const struct intel_device_info intel_gm45_info = {
132 .gen = 4, .is_g4x = 1, 132 .gen = 4, .is_g4x = 1,
133 .is_mobile = 1, .need_gfx_hws = 1, .has_fbc = 1, .has_rc6 = 1, 133 .is_mobile = 1, .need_gfx_hws = 1, .has_fbc = 1,
134 .has_pipe_cxsr = 1, .has_hotplug = 1, 134 .has_pipe_cxsr = 1, .has_hotplug = 1,
135 .supports_tv = 1, 135 .supports_tv = 1,
136 .has_bsd_ring = 1, 136 .has_bsd_ring = 1,
@@ -150,7 +150,7 @@ static const struct intel_device_info intel_ironlake_d_info = {
150 150
151static const struct intel_device_info intel_ironlake_m_info = { 151static const struct intel_device_info intel_ironlake_m_info = {
152 .gen = 5, .is_mobile = 1, 152 .gen = 5, .is_mobile = 1,
153 .need_gfx_hws = 1, .has_rc6 = 1, .has_hotplug = 1, 153 .need_gfx_hws = 1, .has_hotplug = 1,
154 .has_fbc = 0, /* disabled due to buggy hardware */ 154 .has_fbc = 0, /* disabled due to buggy hardware */
155 .has_bsd_ring = 1, 155 .has_bsd_ring = 1,
156}; 156};
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 8b19b5806230..d9b54a27ccf8 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -223,7 +223,6 @@ struct intel_device_info {
223 u8 is_broadwater : 1; 223 u8 is_broadwater : 1;
224 u8 is_crestline : 1; 224 u8 is_crestline : 1;
225 u8 has_fbc : 1; 225 u8 has_fbc : 1;
226 u8 has_rc6 : 1;
227 u8 has_pipe_cxsr : 1; 226 u8 has_pipe_cxsr : 1;
228 u8 has_hotplug : 1; 227 u8 has_hotplug : 1;
229 u8 cursor_needs_physical : 1; 228 u8 cursor_needs_physical : 1;
@@ -930,7 +929,6 @@ enum intel_chip_family {
930#define HAS_FW_BLC(dev) (INTEL_INFO(dev)->gen > 2) 929#define HAS_FW_BLC(dev) (INTEL_INFO(dev)->gen > 2)
931#define HAS_PIPE_CXSR(dev) (INTEL_INFO(dev)->has_pipe_cxsr) 930#define HAS_PIPE_CXSR(dev) (INTEL_INFO(dev)->has_pipe_cxsr)
932#define I915_HAS_FBC(dev) (INTEL_INFO(dev)->has_fbc) 931#define I915_HAS_FBC(dev) (INTEL_INFO(dev)->has_fbc)
933#define I915_HAS_RC6(dev) (INTEL_INFO(dev)->has_rc6)
934 932
935#define HAS_PCH_SPLIT(dev) (IS_GEN5(dev) || IS_GEN6(dev)) 933#define HAS_PCH_SPLIT(dev) (IS_GEN5(dev) || IS_GEN6(dev))
936#define HAS_PIPE_CONTROL(dev) (IS_GEN5(dev) || IS_GEN6(dev)) 934#define HAS_PIPE_CONTROL(dev) (IS_GEN5(dev) || IS_GEN6(dev))