]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf021a1a11d39be07bd4ab87728ed36e87b103dd1
treefa1f5a0e31501ad593cc7796786cb9fda4a5f0cf
parent86bb9dfec8b0f14ea48c3cdd2c3342b59c3eee7a
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