Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9d97c99b
Commit
9d97c99b
authored
Sep 06, 2012
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon/cik: log and handle VM page fault interrupts
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
a59781bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/cik.c
+10
-0
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/cikd.h
+4
-0
No files found.
drivers/gpu/drm/radeon/cik.c
View file @
9d97c99b
...
@@ -3676,6 +3676,16 @@ int cik_irq_process(struct radeon_device *rdev)
...
@@ -3676,6 +3676,16 @@ int cik_irq_process(struct radeon_device *rdev)
break
;
break
;
}
}
break
;
break
;
case
146
:
case
147
:
dev_err
(
rdev
->
dev
,
"GPU fault detected: %d 0x%08x
\n
"
,
src_id
,
src_data
);
dev_err
(
rdev
->
dev
,
" VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x%08X
\n
"
,
RREG32
(
VM_CONTEXT1_PROTECTION_FAULT_ADDR
));
dev_err
(
rdev
->
dev
,
" VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X
\n
"
,
RREG32
(
VM_CONTEXT1_PROTECTION_FAULT_STATUS
));
/* reset addr and status */
WREG32_P
(
VM_CONTEXT1_CNTL2
,
1
,
~
1
);
break
;
case
176
:
/* GFX RB CP_INT */
case
176
:
/* GFX RB CP_INT */
case
177
:
/* GFX IB CP_INT */
case
177
:
/* GFX IB CP_INT */
radeon_fence_process
(
rdev
,
RADEON_RING_TYPE_GFX_INDEX
);
radeon_fence_process
(
rdev
,
RADEON_RING_TYPE_GFX_INDEX
);
...
...
drivers/gpu/drm/radeon/cikd.h
View file @
9d97c99b
...
@@ -95,6 +95,10 @@
...
@@ -95,6 +95,10 @@
#define VM_INVALIDATE_REQUEST 0x1478
#define VM_INVALIDATE_REQUEST 0x1478
#define VM_INVALIDATE_RESPONSE 0x147c
#define VM_INVALIDATE_RESPONSE 0x147c
#define VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x14DC
#define VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x14FC
#define VM_CONTEXT0_PROTECTION_FAULT_DEFAULT_ADDR 0x1518
#define VM_CONTEXT0_PROTECTION_FAULT_DEFAULT_ADDR 0x1518
#define VM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR 0x151c
#define VM_CONTEXT1_PROTECTION_FAULT_DEFAULT_ADDR 0x151c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment