Home
last modified time | relevance | path

Searched refs:free_mask (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c112 i = ffs(adev->gfx.scratch.free_mask); in amdgpu_gfx_scratch_get()
115 adev->gfx.scratch.free_mask &= ~(1u << i); in amdgpu_gfx_scratch_get()
132 adev->gfx.scratch.free_mask |= 1u << (reg - adev->gfx.scratch.reg_base); in amdgpu_gfx_scratch_free()
Damdgpu_gfx.h114 uint32_t free_mask; member
Dgfx_v6_0.c1786 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v6_0_scratch_init()
Dgfx_v7_0.c2071 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v7_0_scratch_init()
Dgfx_v8_0.c833 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v8_0_scratch_init()
Dgfx_v9_0.c1002 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v9_0_scratch_init()
Dgfx_v10_0.c3412 adev->gfx.scratch.free_mask = (1u << adev->gfx.scratch.num_reg) - 1; in gfx_v10_0_scratch_init()