]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't sanitize frame start delay if the pipe is off
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Nov 2017 20:04:42 +0000 (22:04 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Nov 2017 15:15:57 +0000 (17:15 +0200)
commitdf1800a98953e14fdf9eace0e2244bba7d995061
treecd60e16249c2101cc7bba91b90e640f723336158
parent14fc3f6d5e37c0295091ab0614fbab18581c8801
drm/i915: Don't sanitize frame start delay if the pipe is off

Avoid touching PIPECONF in intel_sanitize_crtc() unless the pipe is
actually on. Should cure some unclaimed register accesses during reset,
as we are rather cavalier in our approach to powerdomain management.

We don't have to sanitize this if the pipe is off since we will
overwrite the frame start delay anyway when turning the pipe on.

v2: Amended commit message to implicate the reset path (Chris)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102249
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171115200442.15051-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c