[PATCH] drm: Reject getfb for multi-plane framebuffers

Daniel Stone daniel at fooishbar.org
Wed Mar 21 12:04:52 UTC 2018


Hi,

On 21 March 2018 at 08:27, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Tue, Mar 20, 2018 at 09:01:11PM -0400, Rob Clark wrote:
>> On Tue, Mar 20, 2018 at 6:58 PM, Daniel Stone <daniels at collabora.com> wrote:
>> > getfb can only return a single plane, so reject attempts to use it with
>> > multi-plane framebuffers.
>> >
>>
>> yeah, this seems like a pretty good idea,
>>
>> Reviewed-by: Rob Clark <robdclark at gmail.com>
>>
>> > Signed-off-by: Daniel Stone <daniels at collabora.com>
>> > Reported-by: Daniel van Vugt <daniel.van.vugt at canonical.com>
>> > Fixes: 308e5bcbdb10 ("drm: add an fb creation ioctl that takes a pixel format v5")
>> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105518
>
> Cc: stable at vger.kernel.org # v3.3+
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> Please push to drm-misc-fixes and poke Gustavo to do a pull so it's not
> lost.

Thanks both, I've pushed now. I suspect Gustavo is still on a plane
somewhere, but poked nevertheless.

Cheers,
aniel


More information about the dri-devel mailing list