Documented in 1 files:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c gfxhub_v2_1_utcl2_harvest() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

19f4aff6129bc862 gfx_v9_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_get_cu_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

2424e8ec9bf51854 gfx_v12_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

2424e8ec9bf51854 gfx_v12_0_get_sa_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
HALF_LOCKED2 &adev->grbm_idx_mutex

2424e8ec9bf51854 gfx_v12_0_get_wgp_active_bitmap_per_sh() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 0-s32max
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

2424e8ec9bf51854 gfx_v12_0_setup_rb() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

28ad57647bf6154f gfx_v11_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

28ad57647bf6154f gfx_v11_0_get_sa_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
HALF_LOCKED2 &adev->grbm_idx_mutex

28ad57647bf6154f gfx_v11_0_get_wgp_active_bitmap_per_sh() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 0-s32max
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

28ad57647bf6154f gfx_v11_0_setup_rb() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_get_cu_enabled() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 5-6,8
CAPPED_DATA 0 bit_width 1
FUZZY_MAX 0 bit_width 8
HARD_MAX 0 bit_width 8
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 0-4
CAPPED_DATA 0 bit_width 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_setup_tcc() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 2,4,8,12
BIT_INFO 0 bit_width 0x0,0xe
RX_PATH
TASK_NOT_RUNNING

3d756af95eb3bd31 gfx_v12_1_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

3d756af95eb3bd31 gfx_v12_1_get_sa_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_get_cu_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
HALF_LOCKED2 &adev->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_get_wgp_active_bitmap_per_sh() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
PARAM_VALUE 0 bit_width 0-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_tcp_harvest() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_tcp_harvest() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_3_get_disabled_sa() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
HALF_LOCKED2 &adev->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_get_cu_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_get_rb_active_bitmap() -> amdgpu_gfx_create_bitmask()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex