aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2021-04-29 20:15:42 -0400
committerAlex Deucher <[email protected]>2021-07-01 00:25:33 -0400
commit1d9d2ca85b32605ac9c74c8fa42d0c1cfbe019d4 (patch)
treea8c19dff506f3d0434b3ac9b18c4653e40d483b5 /tools/perf/scripts/python/bin
parentd456f3875af2eb5bf5a9cbd526622801ffc51037 (diff)
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 <[email protected]> Cc: John Clements <[email protected]> Cc: Hawking Zhang <[email protected]> Signed-off-by: Luben Tuikov <[email protected]> Acked-by: Alexander Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions