summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_plane.c
diff options
context:
space:
mode:
authorSathishkumar S <sathishkumar.sundararaju@amd.com>2022-05-11 14:48:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-16 21:20:55 +0300
commit494c1432542b33f8577bd59e5b084fd50bade6d0 (patch)
tree570f50661a251f522aa5855a07a364069a8fd8df /drivers/gpu/drm/drm_plane.c
parentf3106c9424138ffd33bf0b491707c8722b57c18d (diff)
downloadlinux-494c1432542b33f8577bd59e5b084fd50bade6d0.tar.xz
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 'drivers/gpu/drm/drm_plane.c')
0 files changed, 0 insertions, 0 deletions