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

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Sep 30 14:02:09 UTC 2022


On Fri, Sep 30, 2022 at 01:56:25PM +0000, Simon Ser wrote:
> 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.

Seems a bit ambitious, but sure.

-- 
Ville Syrjälä
Intel


More information about the amd-gfx mailing list