diff options
author | Luben Tuikov <luben.tuikov@amd.com> | 2021-05-03 20:43:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-10 18:08:06 -0400 |
commit | e509965e58ab2c96418e1a5e756e25d9a54e0765 (patch) | |
tree | 433c6ef4da9d8635d316c10b4ca22ec3d956cd97 /drivers/gpu/drm/amd/pm/powerplay/hwmgr | |
parent | acdae2169bae6993c61ded36ae0b2301c07c0a9e (diff) | |
download | linux-e509965e58ab2c96418e1a5e756e25d9a54e0765.tar.gz |
drm/amdgpu: Move up ras_hw_supported
Move ras_hw_supported into struct amdgpu_dev.
The dependency is:
struct amdgpu_ras <== struct amdgpu_dev <== ASIC,
read as "struct amdgpu_ras depends on struct
amdgpu_dev, which depends on the hardware."
This can be loosely understood as, "if RAS is
supported, which is property of the ASIC (struct
amdgpu_dev), then we can access struct
amdgpu_ras."
v2: Fix a typo: must binary AND in ternary cond
in amdgpu_ras.c
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: Christian König <christian.koenig@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/powerplay/hwmgr')
0 files changed, 0 insertions, 0 deletions