diff options
author | Alex Deucher | 2017-12-04 21:49:59 +0100 |
---|---|---|
committer | Alex Deucher | 2017-12-04 22:41:15 +0100 |
commit | 0858a8f2047007fdb6a50339d72226fa1e242fa2 (patch) | |
tree | abafe51799f5cc456467e7c930a19e49c53f074f | |
parent | drm/amd/display: DMCU FW loading from PSP (diff) | |
download | kernel-qcow2-linux-0858a8f2047007fdb6a50339d72226fa1e242fa2.tar.gz kernel-qcow2-linux-0858a8f2047007fdb6a50339d72226fa1e242fa2.tar.xz kernel-qcow2-linux-0858a8f2047007fdb6a50339d72226fa1e242fa2.zip |
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 <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)\ |