diff options
author | Jérome Glisse <jglisse@redhat.com> | 2016-03-18 16:58:29 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-02 13:08:48 -0400 |
commit | bd42210d4b2006382f54a57eb20a1527f532c516 (patch) | |
tree | 73f86b3b1c00e06e4f73837f37e9a277e49af689 /kernel/relay.c | |
parent | d78d6f3978ef5f8c365627e2ca2e87583cb74f1e (diff) | |
download | linux-bd42210d4b2006382f54a57eb20a1527f532c516.tar.bz2 |
drm/radeon: consolidate ni 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 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions