mirror_ubuntu-kernels/drivers/gpu/drm/amd
Luben Tuikov a6a355a22f drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
1) Generalize the function--if the user didn't set
   i2c_address, still return true/false to
   indicate whether VBIOS contains the RAS EEPROM
   address.  This function shouldn't evaluate
   whether the user set the i2c_address pointer or
   not.

2) Don't touch the caller's i2c_address, unless
   you have to--this function shouldn't have side
   effects.

3) Correctly set the function comment as a
   kernel-doc comment.

Cc: John Clements <john.clements@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-08-30 14:59:33 -04:00
..
acp
amdgpu drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address 2021-08-30 14:59:33 -04:00
amdkfd drm/amdkfd: Account for SH/SE count when setting up cu masks. 2021-08-26 13:56:01 -04:00
display drm:dcn31: fix boolreturn.cocci warnings 2021-08-30 14:59:33 -04:00
include drm/amd/pm: drop the unnecessary intermediate percent-based transition 2021-08-16 15:35:56 -04:00
pm drm/amd/pm: a quick fix for "divided by zero" error 2021-08-20 12:06:14 -04:00