radeonsi: fix radeon create encoder return
authorBoyuan Zhang <boyuan.zhang@amd.com>
Tue, 27 Feb 2018 22:29:44 +0000 (17:29 -0500)
committerLeo Liu <leo.liu@amd.com>
Fri, 2 Mar 2018 17:04:36 +0000 (12:04 -0500)
commit6a62e455f2a703125127161f4c39b98947e8a0f3
tree7fa5fcee0e4a140e876c139abffdecf2b5fcb29e
parentf9bc48d41d99f2cd4d603561b35fa5c6aedaf169
radeonsi: fix radeon create encoder return

Previous patch missed a "return" when trying to modify the create encoder
function, which made the whole logic fail. Therefore, add the return back.

Fixes: b38b208ff8886e799d6a2 "radeonsi:create uvd hevc enc entry"
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/drivers/radeonsi/si_uvd.c