[Intel-gfx] [PATCH] drm/i915: Fix sprite offset on HSW

Daniel Vetter daniel at ffwll.ch
Fri Oct 26 11:49:13 CEST 2012


On Fri, Oct 26, 2012 at 9:33 AM, Mika Kuoppala
<mika.kuoppala at linux.intel.com> wrote:
> I don't know if upper layers sanitize already but
> x should be < 8192 and y < 4096 in here, and both <4096 for ivb.
> Emit warning and clamp if they are not in range?

We probably need to do the same trick we're already doing in the main
plane code by adjusting the the base address, see:

commit c2c75131244507c93f812862fdbd4f3a37139401
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Thu Jul 5 12:17:30 2012 +0200

    drm/i915: adjust framebuffer base address on gen4+

Damien, could you throw this in on top?

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list