aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorAlexandru Gheorghe <[email protected]>2018-09-21 13:39:44 +0000
committerLiviu Dudau <[email protected]>2018-10-02 10:54:26 +0000
commit791d54fa054d304636fa783f6f082a9dd934ec6a (patch)
tree3e75088bd047ad7d04e4046a7b3364dd45b8c712 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/malidp: Fix writeback in NV12 (diff)
downloadkernel-791d54fa054d304636fa783f6f082a9dd934ec6a.tar.gz
kernel-791d54fa054d304636fa783f6f082a9dd934ec6a.zip
drm/malidp: Fix smart layer when doing pm_suspend/resume
Smart layer enable rectangles is set to 1 when the driver is probed, however when doing pm_suspend the value is lost and it's not set again making the SMART_LAYER unusable, fix that by initializing the number of rectangles everytime we do a plane update. Signed-off-by: Alexandru Gheorghe <[email protected]> Acked-by: Liviu Dudau <[email protected]> Signed-off-by: Liviu Dudau <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions