[PATCH xserver] modesetting: Fix page flipping harder under DRI 3.2.

Adam Jackson ajax at nwnk.net
Wed Apr 4 18:11:26 UTC 2018


On Wed, 2018-04-04 at 17:20 +0100, Daniel Stone wrote:
> On 4 April 2018 at 02:49, Mario Kleiner <mario.kleiner.de at 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 <daniels at 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


More information about the xorg-devel mailing list