]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/amdgpu_connectors: use struct drm_edid instead of struct edid
authorJoshua Peisach <jpeisach@ubuntu.com>
Tue, 3 Mar 2026 21:18:22 +0000 (16:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Mar 2026 21:32:27 +0000 (16:32 -0500)
commit9f0e7b5177a452be7a3740128eaa9c23e6660ab9
tree46710e8acff6a7c94b1c7a512f71f586bcd4f5e3
parent829f21e90d1982c1b5674828f4e0b9424f345921
drm/amdgpu/amdgpu_connectors: use struct drm_edid instead of struct edid

Some amdgpu code is still using deprecated edid functions. Switch to
the newer functions and update the amdgpu_connector struct's edid type
to the drm_edid type.

At the same time, use the raw EDID when we need to for speaker
allocations and for determining if the input is digital.

Signed-off-by: Joshua Peisach <jpeisach@ubuntu.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c