summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cik.c
diff options
context:
space:
mode:
authorJérome Glisse <jglisse@redhat.com>2016-03-18 16:58:30 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-05-02 13:08:49 -0400
commitfa25c22e8fd52dbf97552ab4cdfe30206d9948dd (patch)
tree849af6d37d9d77e62cc106343a1ff90169aeb31f /drivers/gpu/drm/radeon/cik.c
parentbd42210d4b2006382f54a57eb20a1527f532c516 (diff)
downloadblackbird-obmc-linux-fa25c22e8fd52dbf97552ab4cdfe30206d9948dd.tar.gz
blackbird-obmc-linux-fa25c22e8fd52dbf97552ab4cdfe30206d9948dd.zip
drm/radeon: consolidate si 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/cik.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud