Skip to contentSkip to conversation

drm/radeon: fix UVD IRQ support on SI

PATCH Applied Christian König 2 participants 2 messages Jan 30, 2014

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

PATCH 1/1 drm/radeon: fix UVD IRQ support on SI

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

Otherwise decoding isn't really useable.

---
 drivers/gpu/drm/radeon/si.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/radeon/si.c +4 -0
index 07ce587..a22df95 100644
@@ -6334,6 +6334,10 @@ restart_ih:
 				break;
 			}
 			break;
+		case 124: /* UVD */
+			DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data);
+			radeon_fence_process(rdev, R600_RING_TYPE_UVD_INDEX);
+			break;
 		case 146:
 		case 147:
 			addr = RREG32(VM_CONTEXT1_PROTECTION_FAULT_ADDR);
Signature · 6 lines
1.8.1.2

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Applied
#1 lore raw
Quoted 6 lines · Christian König

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

Otherwise decoding isn't really useable.

Applied. thanks!

Alex

Quoted 22 lines
---
 drivers/gpu/drm/radeon/si.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/radeon/si.c +4 -1
index 07ce587..a22df95 100644
@@ -6334,6 +6334,10 @@ restart_ih:
                                break;
                        }
                        break;
+               case 124: /* UVD */
+                       DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data);
+                       radeon_fence_process(rdev, R600_RING_TYPE_UVD_INDEX);
+                       break;
                case 146:
                case 147:
                        addr = RREG32(VM_CONTEXT1_PROTECTION_FAULT_ADDR);
--

1.8.1.2