* [igt-dev] Non-dumb framebuffer tests
@ 2019-01-18 9:07 Simon Ser
2019-01-18 9:56 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Simon Ser @ 2019-01-18 9:07 UTC (permalink / raw)
To: igt-dev@lists.freedesktop.org
Hi,
I've been wondering about tests with non-dumb framebuffers. From what I've
understood, the create_bo_for_fb helper will use dumb framebuffers unless
the format is tiling or a specific size/stride is requested or it's YUV.
This makes it so that some framebuffer type/usage combinations are not
tested, especially for simple RGBA formats. For instance, cursor tests
seem to always use dumb framebuffers.
Would it be useful to add GEM (or GBM?) framebuffer tests?
Thanks,
--
Simon Ser
https://emersion.fr
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [igt-dev] Non-dumb framebuffer tests
2019-01-18 9:07 [igt-dev] Non-dumb framebuffer tests Simon Ser
@ 2019-01-18 9:56 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2019-01-18 9:56 UTC (permalink / raw)
To: Simon Ser; +Cc: igt-dev@lists.freedesktop.org
On Fri, Jan 18, 2019 at 09:07:48AM +0000, Simon Ser wrote:
> Hi,
>
> I've been wondering about tests with non-dumb framebuffers. From what I've
> understood, the create_bo_for_fb helper will use dumb framebuffers unless
> the format is tiling or a specific size/stride is requested or it's YUV.
Hm, maybe we need dumb_create2, like we have addfb2?
> This makes it so that some framebuffer type/usage combinations are not
> tested, especially for simple RGBA formats. For instance, cursor tests
> seem to always use dumb framebuffers.
>
> Would it be useful to add GEM (or GBM?) framebuffer tests?
Yeah. I think longer-term we might want to have plug-in library for
allocating buffers on the various gpus, if things get too extreme. Pulling
in something like gbm is probably too much (and wont solve anything for
display-only drivers).
This also gets into areas where kms isn't all the well-specified, so
definitely good to have better tests for it.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-18 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-18 9:07 [igt-dev] Non-dumb framebuffer tests Simon Ser
2019-01-18 9:56 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox