summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
authorJérome Glisse <jglisse@redhat.com>2016-03-18 16:58:27 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-05-02 19:08:47 +0200
commit66ecfcec6b65f3dccaa249ac2a8c0e8673effa05 (patch)
treeb99f3b4866344b05c38b4e5c3f3c9099b53f5976 /drivers/gpu/drm/radeon/evergreen.c
parentdrm/radeon: consolidate r600 uvd initialization and startup code. (diff)
downloadlinux-66ecfcec6b65f3dccaa249ac2a8c0e8673effa05.tar.xz
linux-66ecfcec6b65f3dccaa249ac2a8c0e8673effa05.zip
drm/radeon: consolidate rv770 uvd initialization and startup code.
This match the exact same control flow as existing code. It just use goto instead of multiple levels of if/else. It also clarify early initialization failures by clearing rdev->has_uvd doing so does not change end result from hardware point of view, it only avoids printing more error messages down the line and thus only the original error is reported. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
0 files changed, 0 insertions, 0 deletions