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/amdgpu_dm/amdgpu_dm.c dm_gpureset_toggle_interrupts() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 1 enable 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_gpureset_toggle_interrupts() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 1 enable 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_gpureset_toggle_interrupts() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 1 enable 0
DATA_SOURCE 1 enable $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_handle_vrr_transition() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 1 enable 1

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_freesync.c amdgpu_dm_handle_vrr_transition() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 1 enable 0

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_set_vupdate_irq_dc_busy() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 enable 1
MEM_ZERO 0 crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_set_vupdate_irq_enable() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 enable 1
MEM_ZERO 0 crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_set_vupdate_irq_enable() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 enable 0
MEM_ZERO 0 crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_set_vupdate_irq_no_otg() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 enable 1
MEM_ZERO 0 crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_set_vupdate_irq_no_otg() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 1 enable 0
MEM_ZERO 0 crtc

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_set_vblank() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 0 crtc->funcs->enable_vblank 4096-ptr_max
PARAM_VALUE 0 crtc->index 0-4294967294
PARAM_VALUE 1 enable 1
CAPPED_DATA 0 crtc->index 1
DATA_SOURCE 0 crtc $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->vbl_lock
LOCK2 &dev->vblank_time_lock
HALF_LOCKED2 &dev->event_lock
HALF_LOCKED2 irq
TYPE_LOCK (struct drm_device)->vbl_lock
TYPE_LOCK (struct drm_device)->vblank_time_lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_set_vblank() -> amdgpu_dm_crtc_set_vupdate_irq()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 0 crtc->funcs->disable_vblank 4096-ptr_max
PARAM_VALUE 1 enable 0
CAPPED_DATA 0 crtc->index 1
DATA_SOURCE 0 crtc $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->vbl_lock
LOCK2 &dev->vblank_time_lock
HALF_LOCKED2 &dev->event_lock
HALF_LOCKED2 irq
HALF_LOCKED2 irqflags
TYPE_LOCK (struct drm_device)->vbl_lock
TYPE_LOCK (struct drm_device)->vblank_time_lock