Skip to contentSkip to conversation

drm/amdgpu: enable UVD VM only on polaris

PATCH In review Christian König 3 participants 3 messages Jul 25, 2016 – Jul 28, 2016 1 message not in the archive

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

PATCH 1/1 drm/amdgpu: enable UVD VM only on polaris

From: Christian König <[email protected]>

Stoney support it, but doesn't has unlimited session support.

---
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +1 -1
index f46d11c..4fa5091 100644
@@ -1074,7 +1074,7 @@ static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = {
 
 static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev)
 {
-	if (adev->asic_type >= CHIP_STONEY) {
+	if (adev->asic_type >= CHIP_POLARIS10) {
 		adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs;
 		DRM_INFO("UVD is enabled in VM mode\n");
 	} else {
Signature · 6 lines
2.5.0

_______________________________________________
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): 1469457856-3411-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 5 lines · Christian König

From: Christian König <[email protected]>

Stoney support it, but doesn't has unlimited session support.

Regards,
Leo

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +0 -0
index f46d11c..4fa5091 100644

drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = { · line 1080

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +1 -1
@@ -1074,7 +1074,7 @@ static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = {
 
  static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev)
  {
-	if (adev->asic_type >= CHIP_STONEY) {
+	if (adev->asic_type >= CHIP_POLARIS10) {
  		adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs;
  		DRM_INFO("UVD is enabled in VM mode\n");
  	} else {

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

Reviewed-by Alex Deucher
#3 lore raw
In reply to a message not in the archive
Quoted 7 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Christian König
Sent: Monday, July 25, 2016 10:44 AM
To: [email protected]
Subject: [PATCH] drm/amdgpu: enable UVD VM only on polaris

Quoted 5 lines

From: Christian König <[email protected]>

Stoney support it, but doesn't has unlimited session support.

Quoted 22 lines
---
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +1 -1
index f46d11c..4fa5091 100644
@@ -1074,7 +1074,7 @@ static const struct amdgpu_ring_funcs
 uvd_v6_0_ring_vm_funcs = {
 
 static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev)
 {
-	if (adev->asic_type >= CHIP_STONEY) {
+	if (adev->asic_type >= CHIP_POLARIS10) {
 		adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs;
 		DRM_INFO("UVD is enabled in VM mode\n");

} else {
--
2.5.0

Quoted 4 lines

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

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