summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorYifan Zhang <yifan1.zhang@amd.com>2023-08-31 11:17:35 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-09-06 14:31:44 -0400
commit2e3b2cb9b8e00e1ed5e51b93946d78b21f48e3ea (patch)
treee47e6db91c537b396e3367f2c9d7bf14fe368d43 /drivers/gpu/drm/amd/amdgpu
parent813ba1ff8484e801d2ef155e0e5388b8a7691788 (diff)
drm/amd/pm: only poweron/off vcn/jpeg when they are valid.
If vcn is disabled in kernel parameters, don't touch vcn, otherwise it may cause vcn hang. v2: delete unnecessary logs v3: move "is_vcn_enabled" check to smu_dpm_setvcn/jpeg_enable (Evan) Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions