aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-10 02:50:12 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-01-10 04:28:28 -0500
commit3a77c4c441d2bcc2b1e27d8aabee0c57aed66ed3 (patch)
tree23a5066fd03c3f3b6d05014fc13906f098ab865d /drivers/gpu/drm/i915/intel_display.c
parent38af6096781e2ed3d83b970218dedfe98e2f8f9c (diff)
drm/i915: Drop I915_ prefix from HAS_FBC
My OCD just couldn't let this slide. Spotted while reviewing Ville's patch to only flip planes when we have FBC. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index dd064faccb27..c4d3f4391686 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -10169,7 +10169,7 @@ static void intel_crtc_init(struct drm_device *dev, int pipe)
10169 */ 10169 */
10170 intel_crtc->pipe = pipe; 10170 intel_crtc->pipe = pipe;
10171 intel_crtc->plane = pipe; 10171 intel_crtc->plane = pipe;
10172 if (I915_HAS_FBC(dev) && INTEL_INFO(dev)->gen < 4) { 10172 if (HAS_FBC(dev) && INTEL_INFO(dev)->gen < 4) {
10173 DRM_DEBUG_KMS("swapping pipes & planes for FBC\n"); 10173 DRM_DEBUG_KMS("swapping pipes & planes for FBC\n");
10174 intel_crtc->plane = !pipe; 10174 intel_crtc->plane = !pipe;
10175 } 10175 }