]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4b883c903c9adfd3af9dab77df51371bca98d20
tree174e668c9052d8ea029895ab015991226fe689c1
parent681781f0c2d642201f487169b14c107eaee0b3fd
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