mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 03:28:05 +02:00
Check status after SDVO command for sdvo_set_control_bus_switch
This commit is contained in:
parent
dc03e07f23
commit
ea8bcb466b
1 changed files with 6 additions and 1 deletions
|
|
@ -298,9 +298,14 @@ int intel_sdvo_get_pixel_multiplier(struct drm_display_mode *mode)
|
|||
return 4;
|
||||
}
|
||||
|
||||
static void intel_sdvo_set_control_bus_switch(struct drm_output *output, u8 target)
|
||||
static bool intel_sdvo_set_control_bus_switch(struct drm_output *output, u8 target)
|
||||
{
|
||||
u8 status;
|
||||
|
||||
intel_sdvo_write_cmd(output, SDVO_CMD_SET_CONTROL_BUS_SWITCH, &target, 1);
|
||||
status = intel_sdvo_read_response(output, NULL, 0);
|
||||
|
||||
return (status == SDVO_CMD_STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
static bool intel_sdvo_set_target_input(struct drm_output *output, bool target_0, bool target_1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue