Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/virtio/virtgpu_display.c virtio_gpu_crtc_atomic_disable() -> virtio_gpu_cmd_set_scanout()

Type Parameter Key Value
PARAM_VALUE 1 scanout_id 0-15
PARAM_VALUE 2 resource_id 0
PARAM_VALUE 3 width 0
PARAM_VALUE 4 height 0
PARAM_VALUE 5 x 0
PARAM_VALUE 6 y 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/virtio/virtgpu_display.c virtio_gpu_crtc_mode_set_nofb() -> virtio_gpu_cmd_set_scanout()

Type Parameter Key Value
PARAM_VALUE 1 scanout_id 0-15
PARAM_VALUE 2 resource_id 0
PARAM_VALUE 5 x 0
PARAM_VALUE 6 y 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
UNITS 3 width unit_byte
UNITS 4 height unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_primary_plane_update() -> virtio_gpu_cmd_set_scanout()

Type Parameter Key Value
PARAM_VALUE 1 scanout_id 0-15
PARAM_VALUE 2 resource_id 0
PARAM_VALUE 3 width 0-u16max
PARAM_VALUE 4 height 0-u16max
PARAM_VALUE 5 x 0
PARAM_VALUE 6 y 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq

drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_primary_plane_update() -> virtio_gpu_cmd_set_scanout()

Type Parameter Key Value
PARAM_VALUE 1 scanout_id 0-15
PARAM_VALUE 3 width 0-u16max
PARAM_VALUE 4 height 0-u16max
PARAM_VALUE 5 x 0-u16max
PARAM_VALUE 6 y 0-u16max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
HALF_LOCKED2 &vkms_output->lock
HALF_LOCKED2 irq