Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/vga/vga_switcheroo.c, line 557 (as a function)
- include/linux/vga_switcheroo.h, line 189 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/drm_edid.c
- drivers/gpu/drm/nouveau/nouveau_connector.c, line 459
- drivers/gpu/vga/vga_switcheroo.c, line 571
Smatch caller information:
drivers/gpu/drm/drm_edid.c drm_edid_read_switcheroo() -> vga_switcheroo_lock_ddc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &display->drm->mode_config.mutex |
drivers/gpu/drm/drm_edid.c drm_get_edid_switcheroo() -> vga_switcheroo_lock_ddc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
| 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/nouveau/nouveau_connector.c nouveau_connector_ddc_detect() -> vga_switcheroo_lock_ddc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |