diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-02 20:53:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-14 23:16:22 +0300 |
commit | f76097c099ab84befce13c0cbc827ece6ea3bcdb (patch) | |
tree | 841382cc2c609699ec98d0635213eca509213ce1 /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | d4edda3f2b3c74379c78c656a06657b328c813aa (diff) | |
download | linux-f76097c099ab84befce13c0cbc827ece6ea3bcdb.tar.xz |
drm/amdgpu/atom: implement debug opcode
Basically a nop.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.c b/drivers/gpu/drm/amd/amdgpu/atom.c index a0346a90d805..331bd059d2ec 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 { |