]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Nuke debug messages from the pipe update critical section
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Mar 2017 20:54:19 +0000 (22:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Mar 2017 11:02:17 +0000 (13:02 +0200)
commit5d87c8f3277081e51ce672811ee56cedb0d9a3aa
treec4103d2fca2fd9a4590dd910fb5872f1a74327fc
parente63f03e288cf4956f00bc5174618323da309b777
drm/i915: Nuke debug messages from the pipe update critical section

printks are slow so we should not be doing them from the vblank evade
critical section. These could explain why we sometimes seem to
blow past our 100 usec deadline.

The problem has been there ever since commit 7cdae3e8c43d ("drm/i915:
Make updating pipe without modeset atomic.") but it may not have
been readily visible until commit 7986f0499fc6 ("drm/i915: Complain
if we take too long under vblank evasion.") increased our chances
of noticing it.

Cc: stable@vger.kernel.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: 7cdae3e8c43d ("drm/i915: Make updating pipe without modeset atomic.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307205419.19447-1-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c