[PATCH] drm/amd/display: add mod_freesync_user_enable to dm_connector_state

Harry Wentland harry.wentland at amd.com
Mon Dec 11 16:21:28 UTC 2017


On 2017-12-04 03:55 PM, Alex Deucher wrote:
> We don't currently expose variable refresh rate, but add the state to the
> connector state to make it easier to maintain the support for it from a
> hw support perspective while we figure out the uapi for drm.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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 c324c3b76fac..b2359bc4900d 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -1686,6 +1686,7 @@ struct dm_connector_state {
>  	uint8_t underscan_vborder;
>  	uint8_t underscan_hborder;
>  	bool underscan_enable;
> +	struct mod_freesync_user_enable user_enable;
>  };
>  
>  #define to_dm_connector_state(x)\
> 


More information about the amd-gfx mailing list