diff mbox

drm/radeon: add video usability info support for VCE

Message ID 1427744248-3599-1-git-send-email-leo.liu@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Leo Liu March 30, 2015, 7:37 p.m. UTC
Signed-off-by: Leo Liu <leo.liu@amd.com>
---
 drivers/gpu/drm/radeon/radeon_vce.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ilia Mirkin March 30, 2015, 8:13 p.m. UTC | #1
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@amd.com> wrote:
> Signed-off-by: Leo Liu <leo.liu@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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

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