]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make vblank evade warnings optional
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sun, 7 May 2017 17:12:52 +0000 (20:12 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 12 May 2017 04:28:02 +0000 (14:28 +1000)
commit2c105fb9238fa8d261a67249f324b2a28c627618
tree1e2c70cc0e24a35f16c987d26f30f47b762235d7
parent45054cbbe73ca401438ad6d16b9127b957d0f8aa
drm/i915: Make vblank evade warnings optional

Add a new Kconfig option to enable/disable the extra warnings
from the vblank evade code. For now we'll keep the warning
about an actually missed vblank always enabled as that can have
an actual user visible impact. But if we miss the deadline
othrwise there's no real need to bother the user with that.
We'll want these warnings enabled during development however
so that we can catch regressions.

Based on the reports it looks like this is still very easy
to hit on SKL, so we have more work ahead of us to optimize
the crtiical section further.

Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reported-by: Jens Axboe <axboe@kernel.dk>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Fixes: c3f363217287 ("drm/i915: Complain if we take too long under vblank evasion.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/Kconfig.debug
drivers/gpu/drm/i915/intel_sprite.c