]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0311534a4fca6df9aa6f8c3a008f3387a56beecc
tree06e6a460b2c23b807d45d2d9302cb93f9f84b1aa
parent7de229ea522a87aaa34f78bd54b38bbc2dec08cb
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