summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-05-08 20:55:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-05-17 17:10:37 -0400
commit2531e5dced848e60dbe9597f8a87dabf5a947687 (patch)
treec732ed2103034641e6d6be9bf984281a5d62acdb /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
parentef5715846283e9ea6031d773e3c772034f4879f4 (diff)
downloadlinux-2531e5dced848e60dbe9597f8a87dabf5a947687.tar.gz
linux-2531e5dced848e60dbe9597f8a87dabf5a947687.tar.bz2
linux-2531e5dced848e60dbe9597f8a87dabf5a947687.zip
drm/amd/display: Drop pixel_clock_mhz
The pixel_clock_mhz property is populated in amdgpu_dm when Freesync is setup, but it is not used anywhere in amdgpu_dm. Remove the dead code. Cc: chiahsuan.chung@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
index 79469cdc3b10..a01f3f5bf2c0 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
@@ -686,7 +686,6 @@ struct amdgpu_dm_connector {
* value is set to zero when there is no FreeSync support.
*/
int max_vfreq ;
- int pixel_clock_mhz;
/* Audio instance - protected by audio_lock. */
int audio_inst;