Commit 8a1837ce authored by Zhao Yakui's avatar Zhao Yakui Committed by Eric Anholt

drm/i915: Fix the incorrect argument for SDVO SET_TV_format command

Otherwise it will cause that S-video output becomes black/white when
switching to other TV format.

http://bugs.freedesktop.org/show_bug.cgi?id=23916Signed-off-by: default avatarZhao Yakui <yakui.zhao@intel.com>
Tested-by: default avatarArnold <arnold.erbsloeh@web.de>
Tested-by: default avatarBazin <bazin.cz@gmail.com>
Tested-by: default avatarNigel <nigel_tuck@eircom.net>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent 461ed3ca
......@@ -1032,7 +1032,7 @@ static void intel_sdvo_set_tv_format(struct intel_encoder *intel_encoder)
memcpy(&format, &format_map, sizeof(format_map) > sizeof(format) ?
sizeof(format) : sizeof(format_map));
intel_sdvo_write_cmd(intel_encoder, SDVO_CMD_SET_TV_FORMAT, &format_map,
intel_sdvo_write_cmd(intel_encoder, SDVO_CMD_SET_TV_FORMAT, &format,
sizeof(format));
status = intel_sdvo_read_response(intel_encoder, NULL, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment