* [PATCH] drm/i915: BDW: Adding missing cursor offsets.
@ 2014-06-05 0:09 Rodrigo Vivi
2014-06-05 0:16 ` Ben Widawsky
0 siblings, 1 reply; 4+ messages in thread
From: Rodrigo Vivi @ 2014-06-05 0:09 UTC (permalink / raw)
To: intel-gfx
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>
---
drivers/gpu/drm/i915/i915_drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index f9cd5ff..615b62f 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -315,6 +315,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 = {
@@ -325,6 +326,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 = {
--
1.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] drm/i915: BDW: Adding missing cursor offsets.
2014-06-05 0:09 [PATCH] drm/i915: BDW: Adding missing cursor offsets Rodrigo Vivi
@ 2014-06-05 0:16 ` Ben Widawsky
2014-06-05 0:58 ` Rodrigo Vivi
2014-06-05 9:28 ` Daniel Vetter
0 siblings, 2 replies; 4+ messages in thread
From: Ben Widawsky @ 2014-06-05 0:16 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: intel-gfx
On Wed, Jun 04, 2014 at 05:09:30PM -0700, Rodrigo Vivi wrote:
> 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>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Should be cc: stable IMO
[snip]
--
Ben Widawsky, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/i915: BDW: Adding missing cursor offsets.
2014-06-05 0:16 ` Ben Widawsky
@ 2014-06-05 0:58 ` Rodrigo Vivi
2014-06-05 9:28 ` Daniel Vetter
1 sibling, 0 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2014-06-05 0:58 UTC (permalink / raw)
To: Ben Widawsky; +Cc: intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 749 bytes --]
I just noticed and verified this patch fixes this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=79621
On Wed, Jun 4, 2014 at 5:16 PM, Ben Widawsky <ben@bwidawsk.net> wrote:
> On Wed, Jun 04, 2014 at 05:09:30PM -0700, Rodrigo Vivi wrote:
> > 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>
> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
>
> Should be cc: stable IMO
> [snip]
>
> --
> Ben Widawsky, Intel Open Source Technology Center
>
--
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
[-- Attachment #1.2: Type: text/html, Size: 1501 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/i915: BDW: Adding missing cursor offsets.
2014-06-05 0:16 ` Ben Widawsky
2014-06-05 0:58 ` Rodrigo Vivi
@ 2014-06-05 9:28 ` Daniel Vetter
1 sibling, 0 replies; 4+ messages in thread
From: Daniel Vetter @ 2014-06-05 9:28 UTC (permalink / raw)
To: Ben Widawsky; +Cc: intel-gfx
On Wed, Jun 04, 2014 at 05:16:25PM -0700, Ben Widawsky wrote:
> On Wed, Jun 04, 2014 at 05:09:30PM -0700, Rodrigo Vivi wrote:
> > 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>
> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Thanks.
>
> Should be cc: stable IMO
> [snip]
Agreed.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-05 9:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 0:09 [PATCH] drm/i915: BDW: Adding missing cursor offsets Rodrigo Vivi
2014-06-05 0:16 ` Ben Widawsky
2014-06-05 0:58 ` Rodrigo Vivi
2014-06-05 9:28 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).