Documented in 1 files:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/radeon/atom.c atom_op_delay() -> drm_can_sleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->mutex

drivers/gpu/drm/omapdrm/omap_fbdev.c omap_fbdev_pan_display() -> drm_can_sleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fbi->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &console_sem

drivers/gpu/drm/amd/amdgpu/atom.c atom_op_delay() -> drm_can_sleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->mutex

drivers/gpu/drm/radeon/radeon_legacy_encoders.c radeon_legacy_ext_dac_detect() -> drm_can_sleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->connection_mutex

drivers/gpu/drm/qxl/qxl_cmd.c qxl_ring_push() -> drm_can_sleep()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/drm_flip_work.c drm_flip_work_queue() -> drm_can_sleep()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &mdp4_crtc->cursor.lock