]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/amdgpu: be consistent with uvd cg flags
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Feb 2016 04:33:56 +0000 (23:33 -0500)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:25:59 +0000 (10:25 +0100)
commite1b18af005564560a2fb82de26162e0b791e914a
tree82f03cc7006fd229c248ef90b026f6b4dc1d28a4
parent86149eb363e6d7b09b8a566caea2dbac23cbbe26
drm/amdgpu: be consistent with uvd cg flags

BugLink: http://bugs.launchpad.net/bugs/1546572
Don't do anything if the uvd cg flags are not set.

Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 35e5912d0801184b57119383da003263a21eeed1)
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c