]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait for pipe to start on i830 as well
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Nov 2017 15:37:31 +0000 (17:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Dec 2017 15:05:16 +0000 (17:05 +0200)
commit512074b02ebe1f9008488027ca2a1f897f7ff4a9
treeb591a1d3886c6f9c1e81a4f4370f51e70809a96c
parent075e0f0bc5217810dcf7a0a805e415aadca68fd4
drm/i915: Wait for pipe to start on i830 as well

We should make sure the pipe has fully started when we enable it from
the i830 "power well". Otherwise theoretically i830 could also hit
problems with vblank timestamps jumping around (since we skip the
wait during modeset on i830). Additionally moving planes between the
pipes etc. might not work correctly until both pipes are actually up and
running.

v2: Less pointless duplication in the code (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171129153732.3612-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c