drm/amd: Convert USB-C PD F/W attributes into groups
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 26 Jun 2023 15:04:06 +0000 (10:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jul 2023 17:51:47 +0000 (13:51 -0400)
commit98d19a6c49b5d61d75cf53c7001541f157683bb8
treee20b7c12c98dd58e388e3b9734c6d3dd2a9cdc28
parent1cc506f08b4c4688c729e48d7c665910ed330724
drm/amd: Convert USB-C PD F/W attributes into groups

Rather than special casing the creation of the file, special case
the visibility to the supported dGPUs.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c