[PATCH v3 3/6] drm: introduce drm_mode_config.atomic_async_page_flip_not_supported

Simon Ser contact at emersion.fr
Fri Sep 30 13:56:25 UTC 2022


On Friday, September 30th, 2022 at 15:53, Ville Syrjälä <ville.syrjala at linux.intel.com> wrote:

> > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > index 44235345fd57..7500e82cf06a 100644
> > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > @@ -3808,6 +3808,7 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev)
> >  		adev_to_drm(adev)->mode_config.prefer_shadow = 1;
> >  	/* indicates support for immediate flip */
> >  	adev_to_drm(adev)->mode_config.async_page_flip = true;
> > +	adev_to_drm(adev)->mode_config.atomic_async_page_flip_not_supported = true;
> 
> The flag polarity seems weird. Why opt out and not opt in?

Explained in the commit message.


More information about the amd-gfx mailing list