]> Git Repo - linux.git/commitdiff
drm/i915: BDW: Adding missing cursor offsets.
authorRodrigo Vivi <[email protected]>
Thu, 5 Jun 2014 00:09:30 +0000 (17:09 -0700)
committerDaniel Vetter <[email protected]>
Thu, 5 Jun 2014 14:10:29 +0000 (16:10 +0200)
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 <[email protected]>
Cc: [email protected]
Reviewed-by: Ben Widawsky <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79621
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_drv.c

index fa7138215b56c786033a99a531254a51285cc304..651e65e051c08a8e25189719aa38f6226f699271 100644 (file)
@@ -321,6 +321,7 @@ static const struct intel_device_info intel_broadwell_m_info = {
        .has_ddi = 1,
        .has_fbc = 1,
        GEN_DEFAULT_PIPEOFFSETS,
+       IVB_CURSOR_OFFSETS,
 };
 
 static const struct intel_device_info intel_broadwell_gt3d_info = {
@@ -331,6 +332,7 @@ static const struct intel_device_info intel_broadwell_gt3d_info = {
        .has_ddi = 1,
        .has_fbc = 1,
        GEN_DEFAULT_PIPEOFFSETS,
+       IVB_CURSOR_OFFSETS,
 };
 
 static const struct intel_device_info intel_broadwell_gt3m_info = {
This page took 0.063926 seconds and 4 git commands to generate.