summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-05-24 12:51:23 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 10:58:42 -0400
commit200c7c8132318378feffc1e4b0189482f4c7f1b6 (patch)
treef80362c694e727c78de5d32f8621ba1e342b7432 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
parent95c2f89895930538879e1c3f1467a8095e03d1a5 (diff)
downloadlinux-200c7c8132318378feffc1e4b0189482f4c7f1b6.tar.gz
linux-200c7c8132318378feffc1e4b0189482f4c7f1b6.tar.bz2
linux-200c7c8132318378feffc1e4b0189482f4c7f1b6.zip
drm/amd: Drop debugfs access to the DPCD
There is already access to the DPCD from userspace through `CONFIG_DRM_DP_AUX_CHARDEV`, so it's unnecessary to reinvent the wheel with a set of extra debugfs nodes specific to amdgpu. The character device interface behaves more like you would expect in that you can seek/read/write all from the same file. Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@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.h4
1 files changed, 0 insertions, 4 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 2e2413fd73a4..4561f55afa99 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
@@ -661,10 +661,6 @@ struct amdgpu_dm_connector {
struct mutex hpd_lock;
bool fake_enable;
-#ifdef CONFIG_DEBUG_FS
- uint32_t debugfs_dpcd_address;
- uint32_t debugfs_dpcd_size;
-#endif
bool force_yuv420_output;
struct dsc_preferred_settings dsc_settings;
union dp_downstream_port_present mst_downstream_port_present;