[Mesa-dev] [PATCH 4/5] radeon/vce: add Polaris11 VCE firmware support

Dieter N├╝tzel Dieter at nuetzel-hh.de
Fri Mar 25 22:12:42 UTC 2016


Hello all AMD guys,

does that mean, that Polaris 10 didn't have VCE support?
Or is it the same for both?

With VCE support and the like Polaris 10 looks like the right thing for 
me.

Thanks a lot for 'day one' support...;-)

-Dieter

Am 23.03.2016 19:43, schrieb Alex Deucher:
> From: Sonny Jiang <sonny.jiang at amd.com>
> 
> Signed-off-by: Sonny Jiang <sonny.jiang at amd.com>
> ---
>  src/gallium/drivers/radeon/radeon_vce.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/gallium/drivers/radeon/radeon_vce.c
> b/src/gallium/drivers/radeon/radeon_vce.c
> index 2ab74e9..6584393 100644
> --- a/src/gallium/drivers/radeon/radeon_vce.c
> +++ b/src/gallium/drivers/radeon/radeon_vce.c
> @@ -50,6 +50,7 @@
>  #define FW_50_10_2 ((50 << 24) | (10 << 16) | (2 << 8))
>  #define FW_50_17_3 ((50 << 24) | (17 << 16) | (3 << 8))
>  #define FW_52_0_3 ((52 << 24) | (0 << 16) | (3 << 8))
> +#define FW_52_4_3 ((52 << 24) | (4 << 16) | (3 << 8))
> 
>  /**
>   * flush commands to the hardware
> @@ -482,6 +483,7 @@ struct pipe_video_codec
> *rvce_create_encoder(struct pipe_context *context,
>  		break;
> 
>  	case FW_52_0_3:
> +	case FW_52_4_3:
>  		radeon_vce_52_init(enc);
>  		break;
> 
> @@ -514,6 +516,7 @@ bool rvce_is_fw_version_supported(struct
> r600_common_screen *rscreen)
>  	case FW_50_10_2:
>  	case FW_50_17_3:
>  	case FW_52_0_3:
> +	case FW_52_4_3:
>  		return true;
>  	default:
>  		return false;


More information about the mesa-dev mailing list