Skip to contentSkip to conversation

drm/amdgpu: add video_codecs query support for aldebaran

PATCH In review James Zhu 2 participants 2 messages May 18, 2021

Subsystems (2)
lore
Share & tools
lore

James Zhu

author
#0 lore raw

PATCH 1/1 drm/amdgpu: add video_codecs query support for aldebaran

Add video_codecs query support for aldebaran.

---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +1 -0
index 080e715..75008cc 100644
@@ -302,6 +302,7 @@ static int soc15_query_video_codecs(struct amdgpu_device *adev, bool encode,
 			*codecs = &rv_video_codecs_decode;
 		return 0;
 	case CHIP_ARCTURUS:
+	case CHIP_ALDEBARAN:
 	case CHIP_RENOIR:
 		if (encode)
 			*codecs = &vega_video_codecs_encode;
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · James Zhu

Add video_codecs query support for aldebaran.

---
  drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +0 -0
index 080e715..75008cc 100644

drivers/gpu/drm/amd/amdgpu/soc15.c static int soc15_query_video_codecs(struct amdgpu_device *adev, bool encode, · line 308

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/soc15.c +1 -0
@@ -302,6 +302,7 @@ static int soc15_query_video_codecs(struct amdgpu_device *adev, bool encode,
  			*codecs = &rv_video_codecs_decode;
  		return 0;
  	case CHIP_ARCTURUS:
+	case CHIP_ALDEBARAN:
  	case CHIP_RENOIR:
  		if (encode)
  			*codecs = &vega_video_codecs_encode;

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