drm/amd/amdgpu: switch on/off vcn power profile mode
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 4 Nov 2020 03:24:33 +0000 (11:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2020 22:09:50 +0000 (17:09 -0500)
commit5ce71f59bb9bd3d8a09b96afdbc92975cb6dc303
treefa1f5a0e31501ad593cc7796786cb9fda4a5f0cf
parent5c9a6272e768af1d68a0490f4794b852f1e7fdc6
drm/amd/amdgpu: switch on/off vcn power profile mode

switch to vcn power profile mode when a video is playing.
this can optimize the power/performance when the workload
is on the vcn.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c