OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4edda3
)
drm/amdgpu/atom: implement debug opcode
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 2 Oct 2015 17:53:33 +0000
(13:53 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:16:22 +0000
(16:16 -0400)
Basically a nop.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atom.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/atom.c
b/drivers/gpu/drm/amd/amdgpu/atom.c
index
a0346a9
..
331bd05
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/atom.c
+++ b/
drivers/gpu/drm/amd/amdgpu/atom.c
@@
-1022,7
+1022,8
@@
static void atom_op_xor(atom_exec_context *ctx, int *ptr, int arg)
static void atom_op_debug(atom_exec_context *ctx, int *ptr, int arg)
{
- printk(KERN_INFO "unimplemented!\n");
+ uint8_t val = U8((*ptr)++);
+ SDEBUG("DEBUG output: 0x%02X\n", val);
}
static struct {