Files
linux/drivers/gpu/drm
Luben Tuikov 1d9d2ca85b drm/amdgpu: Fix koops when accessing RAS EEPROM
Debugfs RAS EEPROM files are available when
the ASIC supports RAS, and when the debugfs is
enabled, an also when "ras_enable" module
parameter is set to 0. However in this case,
we get a kernel oops when accessing some of
the "ras_..." controls in debugfs. The reason
for this is that struct amdgpu_ras::adev is
unset. This commit sets it, thus enabling access
to those facilities. Note that this facilitates
EEPROM access and not necessarily RAS features or
functionality.

Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Cc: John Clements <john.clements@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-01 00:25:33 -04:00
..
2021-05-06 11:43:46 +02:00
2021-04-27 13:13:19 +02:00
2021-05-12 11:31:28 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-01-04 12:59:33 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00