Files
linux/drivers/gpu/drm/amd/amdgpu
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-06-15 17:25:42 -04:00
2021-05-19 22:43:43 -04:00
2021-06-15 17:25:42 -04:00
2021-06-15 17:25:42 -04:00
2021-04-09 16:46:32 -04:00
2021-07-01 00:24:41 -04:00
2021-06-15 17:25:42 -04:00
2021-05-19 23:50:27 -04:00
2021-06-30 00:18:23 -04:00
2021-05-19 23:50:27 -04:00
2020-07-02 12:02:50 -04:00
2020-08-14 16:22:39 -04:00
2021-05-25 23:44:06 -04:00
2020-07-01 01:59:24 -04:00
2021-05-19 22:29:30 -04:00
2020-07-02 12:02:50 -04:00