drm/amd: Drop debugfs access to the DPCD
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 24 May 2023 17:51:23 +0000 (12:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:58:42 +0000 (10:58 -0400)
commit200c7c8132318378feffc1e4b0189482f4c7f1b6
treef80362c694e727c78de5d32f8621ba1e342b7432
parent95c2f89895930538879e1c3f1467a8095e03d1a5
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c