From: Alex Deucher Date: Fri, 2 Oct 2015 17:53:33 +0000 (-0400) Subject: drm/amdgpu/atom: implement debug opcode X-Git-Tag: v4.14-rc1~4339^2~30^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f76097c099ab84befce13c0cbc827ece6ea3bcdb;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu/atom: implement debug opcode Basically a nop. Reviewed-by: Michel Dänzer Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c index a0346a9..331bd05 100644 --- 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 {