]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon: split out radeon_uvd_resume from uvd_v4_2_resume
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Aug 2013 22:12:59 +0000 (18:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:12 +0000 (16:31 -0400)
commit2ce529dac71ae7753981a587932d074fdb248608
tree4e41ab114f1404642f6b44c7f5dced56ec6487a0
parent27c505ca84e164ec66ad55dcf3f5befaac83f10a
drm/radeon: split out radeon_uvd_resume from uvd_v4_2_resume

For powergating, we just need to re-init the registers, there
is no need to restore the uvd BOs.  This just adds needless
work when powergating uvd for playback while the system is
on.  We only need to restore the uvd BOs on an actual resume
from suspend or when the driver loads.

This fixes multi-stream UVD playback on KB systems.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/uvd_v4_2.c