[PATCH] drm/radeon: add video usability info support for VCE

Ilia Mirkin imirkin at alum.mit.edu
Mon Mar 30 13:13:35 PDT 2015


How will userspace know that it's safe to use this command on a
particular kernel? Normally the driver's drm version is incremented,
and then userspace is gated it... Or does this not matter here?

On Mon, Mar 30, 2015 at 3:37 PM, Leo Liu <leo.liu at amd.com> wrote:
> Signed-off-by: Leo Liu <leo.liu at amd.com>
> ---
>  drivers/gpu/drm/radeon/radeon_vce.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c
> index 976fe43..24f849f 100644
> --- a/drivers/gpu/drm/radeon/radeon_vce.c
> +++ b/drivers/gpu/drm/radeon/radeon_vce.c
> @@ -571,6 +571,7 @@ int radeon_vce_cs_parse(struct radeon_cs_parser *p)
>                 case 0x04000005: // rate control
>                 case 0x04000007: // motion estimation
>                 case 0x04000008: // rdo
> +               case 0x04000009: // vui
>                         break;
>
>                 case 0x03000001: // encode
> --
> 2.1.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list