]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit633a02737e947948390add4b7cd83c1b0b129995
treefd0429019254e085e9bc75d03b846d1bafa5cf8f
parent2de11e9f66c85ead4d44717bd1e65c338b0206f4
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