diff options
author | Sathishkumar S <sathishkumar.sundararaju@amd.com> | 2022-05-11 17:18:31 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-16 14:20:55 -0400 |
commit | 494c1432542b33f8577bd59e5b084fd50bade6d0 (patch) | |
tree | 570f50661a251f522aa5855a07a364069a8fd8df /lib/rhashtable.c | |
parent | f3106c9424138ffd33bf0b491707c8722b57c18d (diff) | |
download | linux-494c1432542b33f8577bd59e5b084fd50bade6d0.tar.bz2 |
drm/amd/pm: consistent approach for smartshift
create smartshift sysfs attributes from dGPU device even
on smartshift 1.0 platform to be consistent. Do not populate
the attributes on platforms that have APU only but not dGPU
or vice versa.
V2:
avoid checking for the number of VGA/DISPLAY devices (Lijo)
move code to read from dGPU or APU into a function and reuse (Lijo)
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions