diff mbox

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

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

Commit Message

Leo Liu March 31, 2015, 3:19 p.m. UTC
v2: bump version to make sure userspace backward compatibility

Signed-off-by: Leo Liu <leo.liu@amd.com>
---
 drivers/gpu/drm/radeon/radeon_drv.c | 3 ++-
 drivers/gpu/drm/radeon/radeon_vce.c | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Christian König March 31, 2015, 3:33 p.m. UTC | #1
On 31.03.2015 17:19, Leo Liu wrote:
> v2: bump version to make sure userspace backward compatibility
>
> Signed-off-by: Leo Liu <leo.liu@amd.com>

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

> ---
>   drivers/gpu/drm/radeon/radeon_drv.c | 3 ++-
>   drivers/gpu/drm/radeon/radeon_vce.c | 1 +
>   2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
> index d688f6c..7d620d4 100644
> --- a/drivers/gpu/drm/radeon/radeon_drv.c
> +++ b/drivers/gpu/drm/radeon/radeon_drv.c
> @@ -89,9 +89,10 @@
>    *   2.40.0 - Add RADEON_GEM_GTT_WC/UC, flush HDP cache before submitting
>    *            CS to GPU on >= r600
>    *   2.41.0 - evergreen/cayman: Add SET_BASE/DRAW_INDIRECT command parsing support
> + *   2.42.0 - Add VCE/VUI (Video Usability Information) support
>    */
>   #define KMS_DRIVER_MAJOR	2
> -#define KMS_DRIVER_MINOR	41
> +#define KMS_DRIVER_MINOR	42
>   #define KMS_DRIVER_PATCHLEVEL	0
>   int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
>   int radeon_driver_unload_kms(struct drm_device *dev);
> 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
Alex Deucher March 31, 2015, 3:59 p.m. UTC | #2
On Tue, Mar 31, 2015 at 11:33 AM, Christian König
<deathsimple@vodafone.de> wrote:
> On 31.03.2015 17:19, Leo Liu wrote:
>>
>> v2: bump version to make sure userspace backward compatibility
>>
>> Signed-off-by: Leo Liu <leo.liu@amd.com>
>
>
> Reviewed-by: Christian König <christian.koenig@amd.com>

Applied to my -next tree.  Thanks!

Alex

>
>
>> ---
>>   drivers/gpu/drm/radeon/radeon_drv.c | 3 ++-
>>   drivers/gpu/drm/radeon/radeon_vce.c | 1 +
>>   2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/radeon/radeon_drv.c
>> b/drivers/gpu/drm/radeon/radeon_drv.c
>> index d688f6c..7d620d4 100644
>> --- a/drivers/gpu/drm/radeon/radeon_drv.c
>> +++ b/drivers/gpu/drm/radeon/radeon_drv.c
>> @@ -89,9 +89,10 @@
>>    *   2.40.0 - Add RADEON_GEM_GTT_WC/UC, flush HDP cache before
>> submitting
>>    *            CS to GPU on >= r600
>>    *   2.41.0 - evergreen/cayman: Add SET_BASE/DRAW_INDIRECT command
>> parsing support
>> + *   2.42.0 - Add VCE/VUI (Video Usability Information) support
>>    */
>>   #define KMS_DRIVER_MAJOR      2
>> -#define KMS_DRIVER_MINOR       41
>> +#define KMS_DRIVER_MINOR       42
>>   #define KMS_DRIVER_PATCHLEVEL 0
>>   int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
>>   int radeon_driver_unload_kms(struct drm_device *dev);
>> 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
>
>
> _______________________________________________
> 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_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index d688f6c..7d620d4 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -89,9 +89,10 @@ 
  *   2.40.0 - Add RADEON_GEM_GTT_WC/UC, flush HDP cache before submitting
  *            CS to GPU on >= r600
  *   2.41.0 - evergreen/cayman: Add SET_BASE/DRAW_INDIRECT command parsing support
+ *   2.42.0 - Add VCE/VUI (Video Usability Information) support
  */
 #define KMS_DRIVER_MAJOR	2
-#define KMS_DRIVER_MINOR	41
+#define KMS_DRIVER_MINOR	42
 #define KMS_DRIVER_PATCHLEVEL	0
 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
 int radeon_driver_unload_kms(struct drm_device *dev);
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