]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: replace context flags with bools v2
authorChristian König <christian.koenig@amd.com>
Mon, 2 Nov 2020 12:16:13 +0000 (13:16 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 4 Nov 2020 10:23:25 +0000 (11:23 +0100)
commit379476e7255298e078b800df74b48a2f71fcab2c
tree8865d8fd5dc9ce5151597349355d1df57b6ba31d
parent197a1e478db0188bfddbd6f52707e1d83a8c83cc
drm/ttm: replace context flags with bools v2

The ttm_operation_ctx structure has a mixture of flags and bools. Drop the
flags and replace them with bools as well.

v2: fix typos, improve comments

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/398686/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/ttm/ttm_resource.c
include/drm/ttm/ttm_bo_api.h