drm/amdgpu: cleanup context structure v2
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 02:48:26 +0000 (22:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:12 +0000 (16:50 -0400)
commit0b492a4c92050862a9780b941d52c05923fcd669
tree174e668c9052d8ea029895ab015991226fe689c1
parent404b2fa3385565b1c472a0482f6564a1550fc8d1
drm/amdgpu: cleanup context structure v2

The comment is misleading and incorrect, remove it.

Printing the id is completely meaningless and this practice
can cause a race conditions on command submission.

The flags and hangs fields are completely unused.

Give all fields a common indentation.

v2: remove fpriv reference and unused flags as well, fix debug message.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c