]> 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)
commit45bfd4eb8d3db5401decc23c5f57772994d9c810
treefd0429019254e085e9bc75d03b846d1bafa5cf8f
parent0c557384a349f07d36670bfad40d02279d73ed41
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