drm/i915: fix assert_cursor on BDW
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 27 Feb 2014 19:30:56 +0000 (16:30 -0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Mar 2014 17:07:40 +0000 (19:07 +0200)
commitd9d820810d4eeac336c515dfb62561c21b296f07
treefd0429019254e085e9bc75d03b846d1bafa5cf8f
parent17b0c1f7865d8bf4f5e5aa94e2aeafb35d23e4e9
drm/i915: fix assert_cursor on BDW

We need to read the correct register, not a register that doesn't exist
and will trigger "Unclaimed register" messages when we touch it.

Also rearrange the checks in an attempt to prevent this error from
happening again.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[Jani: dropped an extra empty line introduced.]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c
This page took 0.024462 seconds and 5 git commands to generate.