diff options
| author | Mario Limonciello <[email protected]> | 2023-06-26 15:04:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-07 17:51:46 +0000 |
| commit | 521289d2a279b2fbea0450d5e8e6a01cf70a80b3 (patch) | |
| tree | 0c1cce82df1764fd5a408c1b4d1022f352cd96e3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/display: fix comment typo (diff) | |
| download | kernel-521289d2a279b2fbea0450d5e8e6a01cf70a80b3.tar.gz kernel-521289d2a279b2fbea0450d5e8e6a01cf70a80b3.zip | |
drm/amd: Use attribute groups for PSP flashing attributes
Individually creating attributes can be racy, instead make attributes
using attribute groups and control their visibility with an is_visible
callback to only show when using appropriate products.
v2: squash in fix for PSP 13.0.10
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 2f9c14aca73c..41b3f20729bc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1034,7 +1034,6 @@ struct amdgpu_device { bool has_pr3; bool ucode_sysfs_en; - bool psp_sysfs_en; /* Chip product information */ char product_number[20]; |
