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

2016-09-22 Thread Christian König

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 


Reviewed-by: Christian König 


---
  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 0x0408: /* rdo */
case 0x0409: /* vui */
case 0x0502: /* auxiliary buffer */
+   case 0x0509: /* clock table */
break;
  
  		case 0x0301: /* encode */



___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


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

2016-09-21 Thread Alex Deucher
This packet allows the user mode driver to specify
the required performance for specific use cases.

Signed-off-by: Alex Deucher 
---
 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 0x0408: /* rdo */
case 0x0409: /* vui */
case 0x0502: /* auxiliary buffer */
+   case 0x0509: /* clock table */
break;
 
case 0x0301: /* encode */
-- 
2.5.5

___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx