On Wed, 2018-04-04 at 17:20 +0100, Daniel Stone wrote: > On 4 April 2018 at 02:49, Mario Kleiner <mario.kleiner...@gmail.com> wrote: > > Non-atomic kms drivers like radeon-kms (or nouveau-kms with > > default setting of "atomic ioctl disabled") don't export > > any formats, so num_formats == 0. > > > > Some atomic drivers (nouveau-kms with boot param nouveau.atomic=1, > > or intel-kms on, e.g., Linux 4.13) expose num_formats == 0, or > > don't expose any modifiers, so num_modifiers == 0. > > > > Let the drmmode_is_format_supported() check pass in these cases > > to allow page flipping, as it works just fine. > > > > Tested on NV-96 for nouveau, HD-5770 for radeon, Intel Ivybridge > > with Linux 4.13 and drm-next to fix page flipping. > > Reviewed-by: Daniel Stone <dani...@collabora.com>
Merged, thanks: remote: I: patch #214734 updated using rev ce2a4313dd31084f7766af59b8477cabe029bf44. remote: I: 1 patch(es) updated to state Accepted. To ssh://git.freedesktop.org/git/xorg/xserver 44e7098367..ce2a4313dd master -> master - ajax _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel