drm/amd/display: add mod_freesync_user_enable to dm_connector_state
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 20:49:59 +0000 (15:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:15 +0000 (16:41 -0500)
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 <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index c324c3b..b2359bc 100644 (file)
@@ -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)\