Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_abm_cacp.c dmub_cacp_get_histogram() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 1 fb 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_abm_cacp.c dmub_cacp_init() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 1 fb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_get_fams2_debug_meta() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 0 dmub 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_ib_based_fams2_update_config() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 0 dmub 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dc_dmub_srv.c dc_dmub_srv_ips_query_residency_info() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 1 fb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->dm.dc_lock
LOCK2 &m->lock
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_srv.c dmub_srv_hw_init() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 0 dmub 4096-ptr_max
PARAM_VALUE 0 dmub->fb_info 4096-ptr_max
PARAM_VALUE 0 dmub->fb_info->num_fb 12-255
PARAM_VALUE 0 dmub->hw_funcs.backdoor_load 1-u64max
PARAM_VALUE 0 dmub->hw_init 0
PARAM_VALUE 0 dmub->inbox1.num_reported 0
PARAM_VALUE 0 dmub->inbox1.num_submitted 0
PARAM_VALUE 0 dmub->inbox1.rb.rptr 0
PARAM_VALUE 0 dmub->inbox1.rb.wrpt 0
PARAM_VALUE 0 dmub->inbox1_last_wptr 0
PARAM_VALUE 0 dmub->outbox0_rb.rptr 0
PARAM_VALUE 0 dmub->outbox0_rb.wrpt 0
PARAM_VALUE 0 dmub->outbox1_rb.rptr 0
PARAM_VALUE 0 dmub->outbox1_rb.wrpt 0
PARAM_VALUE 0 dmub->psp_version 0
PARAM_VALUE 0 dmub->reg_inbox0.is_pending 0
PARAM_VALUE 0 dmub->reg_inbox0.num_reported 0
PARAM_VALUE 0 dmub->reg_inbox0.num_submitted 0
PARAM_VALUE 0 dmub->sw_init 1
PARAM_VALUE 0 dmub->user_ctx->dm.dc->ctx->cgs_device->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 dmub->user_ctx->dm.dc->ctx->cgs_device->adev->mes.saved_flags 0-4294967295
PARAM_VALUE 0 dmub->user_ctx->dm.dc->ctx->cgs_device->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 dmub->user_ctx->dm.dc->ctx->dc->idle_optimizations_allowed 0-1
PARAM_VALUE 1 fb 4096-ptr_max
BUF_SIZE 0 dmub (-1),1240
BUF_SIZE 0 dmub (-1),1240
BUF_SIZE 1 fb 288
BUF_SIZE 1 fb 288
DATA_SOURCE 0 dmub $0
MEM_ZERO 0 &dmub->soc_fb_info
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_abm_lcd.c dmub_abm_init_config() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 1 fb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_abm_lcd.c dmub_abm_save_restore() -> dmub_srv_flush_buffer_mem()

Type Parameter Key Value
PARAM_VALUE 1 fb 4096-ptr_max
NOCHECK_CALL