From: Alex Deucher Date: Mon, 4 Dec 2017 20:49:59 +0000 (-0500) Subject: drm/amd/display: add mod_freesync_user_enable to dm_connector_state X-Git-Tag: v4.16-rc1~96^2~29^2~248 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0858a8f2047007fdb6a50339d72226fa1e242fa2;p=users%2Fjedix%2Flinux-maple.git drm/amd/display: add mod_freesync_user_enable to dm_connector_state 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. Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- 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)\