[Intel-gfx] [PATCH 06/11] drm/i915: Check the framebuffer offset

Daniel Vetter daniel at ffwll.ch
Thu Nov 1 15:18:04 CET 2012


On Thu, Nov 1, 2012 at 3:09 PM, Ville Syrjälä
<ville.syrjala at linux.intel.com> wrote:
>> Userspace doesn't use this today at all even in the panning case?
>
> If it does, then the user is going to be upset when nothing happens.
> Only the x/y offsets are effective with the current code.
>
>> I
>> know it worked at one point at least, but that may have been back in
>> the UMS days...
>
> Before my time.

Afaik the fb->offsets have been added to support planar formats with
all planes smashed into the same buffer object (where the fourcc alone
doesn't specify anything about inter-plane offsets). We don't support
planar buffers, so enforcing an offset of 0 is imo totally ok.
-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