Jani Nikula
b76cf76bfa
drm/i915: rearrange vlv hdmi enable and pre_enable callbacks
...
VLV wants encoder enabling before the pipe is up. This is currently
achieved through calling the ->enable callback early, right after the
->pre_enable callback, in valleyview_crtc_enable(). This loses both the
distinction between ->pre_enable and ->enable on VLV and the possibility
to use a hook at the end of the modeset sequence.
Rearrange the HDMI callbacks to make it possible to move ->enable call
later. Basically do everything in ->pre_enable on VLV, and make ->enable
a NOP.
There should be no functional changes.
v2: Rebase.
v3: Explain why this is needed in the commit message (Chris).
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk >
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
2013-08-05 19:04:04 +02:00
..
2013-07-21 10:11:04 -07:00
2013-06-03 21:49:52 +02:00
2013-07-13 14:52:21 -07:00
2013-06-17 17:12:20 -07:00
2013-07-18 12:48:40 -07:00
2013-06-27 13:42:16 -04:00
2013-07-22 19:02:52 -07:00
2013-06-23 00:23:53 +01:00
2013-07-02 14:23:01 -07:00
2013-07-03 16:07:25 -07:00
2013-07-13 14:52:21 -07:00
2013-07-03 14:35:40 -07:00
2013-07-14 19:36:57 -04:00
2013-07-19 09:59:06 -07:00
2013-07-03 14:35:40 -07:00
2013-07-09 10:33:30 -07:00
2013-07-03 17:12:13 -07:00
2013-07-09 10:33:19 -07:00
2013-07-13 14:52:21 -07:00
2013-07-03 16:07:41 -07:00
2013-06-09 18:15:00 +02:00
2013-07-11 11:00:31 +01:00
2013-06-24 16:23:25 -07:00
2013-07-20 23:33:33 +02:00
2013-08-05 19:04:04 +02:00
2013-07-04 15:35:08 -07:00
2013-07-03 16:07:41 -07:00
2013-06-24 16:24:17 -07:00
2013-07-18 11:32:36 -07:00
2013-07-13 14:52:21 -07:00
2013-07-10 18:15:41 -07:00
2013-07-16 22:41:38 -07:00
2013-07-13 12:57:21 -07:00
2013-07-13 18:05:13 -07:00
2013-07-10 14:46:40 -07:00
2013-07-14 19:36:57 -04:00
2013-07-09 18:24:39 -07:00
2013-07-02 08:44:02 -07:00
2013-07-04 11:40:58 -07:00
2013-07-01 11:46:56 +10:00
2013-06-11 11:41:51 -05:00
2013-07-22 19:02:52 -07:00
2013-07-15 21:25:14 +02:00
2013-06-17 16:46:06 -07:00
2013-07-03 16:08:06 -07:00
2013-07-03 16:07:41 -07:00
2013-07-10 11:10:27 -07:00
2013-07-04 11:40:58 -07:00
2013-07-10 11:16:00 -07:00
2013-07-05 12:09:48 -07:00
2013-07-18 13:04:25 -07:00
2013-07-09 18:24:39 -07:00
2013-07-09 18:24:39 -07:00
2013-07-14 19:36:59 -04:00
2013-07-09 22:09:16 +02:00
2013-07-03 17:12:13 -07:00
2013-07-03 17:12:13 -07:00
2013-07-02 11:44:19 -07:00
2013-07-03 11:48:03 -07:00
2013-07-10 15:42:51 -04:00
2013-07-18 01:38:59 +02:00
2013-07-10 11:13:00 -07:00
2013-07-03 16:08:06 -07:00
2013-06-24 16:41:32 -07:00
2013-06-26 23:23:54 +02:00
2013-07-13 14:52:21 -07:00
2013-07-10 11:10:27 -07:00
2013-07-11 12:35:09 -07:00
2013-07-10 11:10:27 -07:00
2013-07-19 08:37:39 +02:00
2013-07-13 17:41:21 -07:00
2013-06-28 13:01:40 +02:00
2013-07-15 11:46:16 +01:00
2013-07-13 14:52:21 -07:00
2013-07-20 15:42:38 -07:00
2013-07-11 12:57:19 -07:00
2013-07-22 09:34:46 +08:00
2013-07-13 14:52:21 -07:00
2013-07-03 16:07:26 -07:00
2013-07-13 14:52:21 -07:00
2013-07-03 16:07:41 -07:00
2013-07-10 14:50:08 -07:00
2013-07-23 14:38:20 -07:00
2013-07-16 10:24:28 +10:00
2013-07-10 14:50:58 -07:00
2013-06-24 16:23:25 -07:00
2013-07-03 16:08:06 -07:00
2013-07-13 14:52:21 -07:00
2013-07-14 19:36:59 -04:00
2013-06-29 12:57:28 +04:00
2013-07-10 11:10:27 -07:00
2013-07-10 11:10:27 -07:00