drm/i915: BDW: Adding missing cursor offsets.
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Thu, 5 Jun 2014 00:09:30 +0000 (17:09 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jun 2014 14:10:29 +0000 (16:10 +0200)
commit15d24aa5602fb87c7b1358cfabcfeb9b26db290f
tree0774ae3a3ee4859b5ee7175a0e269f01db908c19
parent832fd395ce61710c82d871196f7c7cd41fb076b6
drm/i915: BDW: Adding missing cursor offsets.

BDW uses IVB cursor offsets.

Whithout this patch it is not possible to use multiple outputs with cursor
on BDW.
The cursor gets completely crazy because update position uses the wrong
cursor register for the second pipe.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79621
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c