]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: add a flag to indicate UMC channel index version
authorTao Zhou <tao.zhou1@amd.com>
Wed, 30 Oct 2024 06:17:49 +0000 (14:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:46 +0000 (10:26 -0500)
commit2206daa1f9182a08aea92213dc2bcb387173dab1
treee1543d0b4908d72e1f95cbe6fdcaa0ec9b6c3970
parent71a0e9630027f77d7646c5b750593c9ecfaa27d3
drm/amdgpu: add a flag to indicate UMC channel index version

v1 (legacy way): store channel index within a UMC instance in eeprom
v2: store global channel index in eeprom

V2: only save the flag on eeprom, clear it after saving.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h