[PATCH 087/165] drm/radeon/kms: enable UVD as needed (v9)

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher When using UVD, the driver must switch to a special UVD power state. In the CS ioctl, switch to the power state and schedule work to change the power state back, when the work comes up, check if uvd is still busy and if not, switch back to the user

[PATCH 087/165] drm/radeon/kms: enable UVD as needed (v9)

2013-06-26 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com When using UVD, the driver must switch to a special UVD power state. In the CS ioctl, switch to the power state and schedule work to change the power state back, when the work comes up, check if uvd is still busy and if not, switch back to the user