[Intel-gfx] [PATCH v2 1/2] drm/i915: Fix modeset handling during gpu reset.

2016-04-10 Thread Maarten Lankhorst
This function would call drm_modeset_lock_all, while the suspend/resume functions already have their own locking. Fix this by factoring out __intel_display_resume, and calling the atomic helpers for duplicating atomic state and disabling all crtc's during suspend. Signed-off-by: Maarten Lankhorst

[Intel-gfx] [PATCH v2 2/2] drm/i915: Add a way to test the modeset done during gpu reset, v2.

2016-04-10 Thread Maarten Lankhorst
Add force_reset_modeset_test as a parameter to force the modeset path during gpu reset. This allows a IGT test to set the knob and trigger a hang to force the gpu reset, even on platforms that wouldn't otherwise require it. Changes since v1: - Split out fix to separate commit. Signed-off-by: Ma

[Intel-gfx] [PATCH i-g-t] Adding rotation tests using COMMIT_ATOMIC path

2016-04-10 Thread Pratik Vishwakarma
From: pvishwak Modified tests to follow COMMIT_ATOMIC path if ATOMIC support is available from driver. If ATOMIC support is not present, tests will follow COMMIT_UNIVERSAL path. v2: (Marius) Updated commit message https://patchwork.freedesktop.org/patch/76040/ v3: (Marius)