drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr
authorJani Nikula <jani.nikula@intel.com>
Fri, 10 May 2024 15:08:10 +0000 (18:08 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 23 May 2024 11:37:24 +0000 (14:37 +0300)
commit8032e67f79497e4cad26d3d229905b349a2a1c76
treed0bde5190b2bdc0919dfa4b15376ffb7bc333e75
parent242136edda0f405ebdd93ea788f2ed9a907ce897
drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr

radeon_connector_edid() copies the EDID from edid_blob_ptr as a side
effect if radeon_connector->edid isn't initialized. However, everywhere
that the returned EDID is used, the EDID should have been set
beforehands.

Only the drm EDID code should look at the EDID property, anyway, so stop
using it.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Pan
Cc: amd-gfx@lists.freedesktop.org
Reviewed-by: Robert Foss <rfoss@kernel.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b2bdec9161ddcbf79c8516aeea508a9903bd0074.1715353572.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/radeon/radeon_audio.c
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_mode.h