[PATCH] drm/amdgpu/vce: allow the clock table packet

Christian König deathsimple at vodafone.de
Thu Sep 22 07:07:37 UTC 2016


Am 21.09.2016 um 22:36 schrieb Alex Deucher:
> This packet allows the user mode driver to specify
> the required performance for specific use cases.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> index 2c9ea9b..06b94c1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
> @@ -691,6 +691,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx)
>   		case 0x04000008: /* rdo */
>   		case 0x04000009: /* vui */
>   		case 0x05000002: /* auxiliary buffer */
> +		case 0x05000009: /* clock table */
>   			break;
>   
>   		case 0x03000001: /* encode */




More information about the amd-gfx mailing list