Skip to contentSkip to conversation

drm/amdgpu: add VCN JPEG support amdgpu_ctx_num_entities

PATCH In review Alex Deucher 2 participants 2 messages Nov 30, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: add VCN JPEG support amdgpu_ctx_num_entities

Looks like it was missed when setting support was added.

---

This is a legit bug fix. the rest of this series needs more work.

drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 1 +

 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +1 -0
index f9b54236102d..95f4c4139fc6 100644
@@ -39,6 +39,7 @@ const unsigned int amdgpu_ctx_num_entities[AMDGPU_HW_IP_NUM] = {
 	[AMDGPU_HW_IP_UVD_ENC]	=	1,
 	[AMDGPU_HW_IP_VCN_DEC]	=	1,
 	[AMDGPU_HW_IP_VCN_ENC]	=	1,
+	[AMDGPU_HW_IP_VCN_JPEG]	=	1,
 };
 
 static int amdgput_ctx_total_num_entities(void)
Signature · 6 lines
2.13.6

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20181130020036.1732-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw

Am 30.11.18 um 03:00 schrieb Alex Deucher:

Quoted 3 lines

Looks like it was missed when setting support was added.

Quoted 12 lines

---

This is a legit bug fix. the rest of this series needs more work.

drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 1 +

  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +0 -0
index f9b54236102d..95f4c4139fc6 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c const unsigned int amdgpu_ctx_num_entities[AMDGPU_HW_IP_NUM] = { · line 45

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +1 -0
@@ -39,6 +39,7 @@ const unsigned int amdgpu_ctx_num_entities[AMDGPU_HW_IP_NUM] = {
  	[AMDGPU_HW_IP_UVD_ENC]	=	1,
  	[AMDGPU_HW_IP_VCN_DEC]	=	1,
  	[AMDGPU_HW_IP_VCN_ENC]	=	1,
+	[AMDGPU_HW_IP_VCN_JPEG]	=	1,
  };
 
  static int amdgput_ctx_total_num_entities(void)

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx