[PATCH 2/5] drm/amd: Use attribute groups for PSP flashing attributes

2023-06-26 Thread Mario Limonciello
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. Signed-off-by: Mario Limonciello --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 - drivers/gpu/

Re: [PATCH 2/5] drm/amd: Use attribute groups for PSP flashing attributes

2023-06-27 Thread Lazar, Lijo
On 6/26/2023 8:34 PM, Mario Limonciello wrote: 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. Signed-off-by: Mario Limonciello --- drivers/gp