Commit f76097c0 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/atom: implement debug opcode

Basically a nop.
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d4edda3f
...@@ -1022,7 +1022,8 @@ static void atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) ...@@ -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) 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 { static struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment