diff options
author | Christian König <[email protected]> | 2013-09-09 10:49:55 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-09-12 15:16:30 +0200 |
commit | 2487324591c1629492288a814e1d8a3046d37b15 (patch) | |
tree | bb43571548f04c376f4cd804014c140bbff147c4 /src/gallium/drivers/radeonsi/radeonsi_uvd.c | |
parent | 56be937d42b2f18fff072854122dbe5e0a95dd16 (diff) |
radeon/uvd: move more logic into the common files
Move the code back into the common UVD files since we now
have base structures for R600 and radeonsi.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_uvd.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_uvd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_uvd.c b/src/gallium/drivers/radeonsi/radeonsi_uvd.c index de6cc12e45b..1cb3be026d1 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_uvd.c +++ b/src/gallium/drivers/radeonsi/radeonsi_uvd.c @@ -149,7 +149,5 @@ static struct radeon_winsys_cs_handle* radeonsi_uvd_set_dtb(struct ruvd_msg *msg struct pipe_video_codec *radeonsi_uvd_create_decoder(struct pipe_context *context, const struct pipe_video_codec *templ) { - struct r600_context *ctx = (struct r600_context *)context; - - return ruvd_create_decoder(context, templ, ctx->b.ws, radeonsi_uvd_set_dtb); + return ruvd_create_decoder(context, templ, radeonsi_uvd_set_dtb); } |