r600g,radeonsi: consolidate get_paramf and get_video_param
authorMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jan 2014 01:12:51 +0000 (02:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 28 Jan 2014 00:39:46 +0000 (01:39 +0100)
commitd41bd71bcfa43b3aad5abbb0da9f716e631042c4
treec99a53445eb8cef35ec69c4027b5e35bfdfd4a3c
parenta4c218f398a6176f2ecbe7e295020d348670a957
r600g,radeonsi: consolidate get_paramf and get_video_param

radeonsi now reports PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE = true if UVD support
isn't available. It's what all the other drivers do.

Also, some #include directives were missing in radeon_uvd.h.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/radeon_uvd.h
src/gallium/drivers/radeonsi/si_pipe.c