drm/i915: copy fetched mode state into crtc at setup_hw time v5
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 26 Jun 2013 15:57:38 +0000 (18:57 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 17:38:17 +0000 (19:38 +0200)
commitbabea61dfb82b4bdfdbc57ebf081ef6c16ffd524
tree06e6a460b2c23b807d45d2d9302cb93f9f84b1aa
parentf1f644dc66cbaf5a4c7dcde683361536b41885b9
drm/i915: copy fetched mode state into crtc at setup_hw time v5

We already fetch and track other state into the main CRTC and encoder
structs, and for fastboot we need to do the same with the mode and clock
data we read out.

v2: fix debug print
v3: use fastboot param around state copy
v4: set clock and flags for crtc here instead of in setup_hw_state
v5: rename function to intel_crtc_mode_from_pipe_config for consistency (Chris)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c