All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Fix corruption lines on the screen on Gen9 chromebooks
@ 2019-09-04  8:46 Gaurav K Singh
  2019-09-04  9:44 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3) Patchwork
  2019-09-04 10:21 ` ✗ Fi.CI.BAT: failure " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Gaurav K Singh @ 2019-09-04  8:46 UTC (permalink / raw)
  To: intel-gfx

On Gen9 chromebooks, we are seeing the screen shows several
large blue horizontal stripes over the top. Also, corruption happens
when we switch from a chrome browser tab to VT2 mode(by pressing Ctrl+Alt+F2)
and then back to chrome tab.

As per the display workaround #1200, FBC needs wait for vblank
before enabling and before disabling FBC.

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
---
 drivers/gpu/drm/i915/display/intel_fbc.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index 16ed44bfd734..dd224b82bf02 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1097,6 +1097,8 @@ void intel_fbc_enable(struct intel_crtc *crtc,
 		if (fbc->crtc == crtc) {
 			WARN_ON(!crtc_state->enable_fbc);
 			WARN_ON(fbc->active);
+			if (IS_GEN(dev_priv, 9))
+				intel_wait_for_vblank(dev_priv, crtc->pipe);
 		}
 		goto out;
 	}
@@ -1137,8 +1139,11 @@ void intel_fbc_disable(struct intel_crtc *crtc)
 		return;
 
 	mutex_lock(&fbc->lock);
-	if (fbc->crtc == crtc)
+	if (fbc->crtc == crtc) {
 		__intel_fbc_disable(dev_priv);
+		if (IS_GEN(dev_priv, 9))
+			intel_wait_for_vblank(dev_priv, crtc->pipe);
+	}
 	mutex_unlock(&fbc->lock);
 }
 
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3)
  2019-09-04  8:46 [PATCH] drm/i915: Fix corruption lines on the screen on Gen9 chromebooks Gaurav K Singh
@ 2019-09-04  9:44 ` Patchwork
  2019-09-04 10:21 ` ✗ Fi.CI.BAT: failure " Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-09-04  9:44 UTC (permalink / raw)
  To: Gaurav K Singh; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3)
URL   : https://patchwork.freedesktop.org/series/66196/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3e31641ea606 drm/i915: Fix corruption lines on the screen on Gen9 chromebooks
-:9: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#9: 
when we switch from a chrome browser tab to VT2 mode(by pressing Ctrl+Alt+F2)

total: 0 errors, 1 warnings, 0 checks, 20 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3)
  2019-09-04  8:46 [PATCH] drm/i915: Fix corruption lines on the screen on Gen9 chromebooks Gaurav K Singh
  2019-09-04  9:44 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3) Patchwork
@ 2019-09-04 10:21 ` Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-09-04 10:21 UTC (permalink / raw)
  To: Gaurav K Singh; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3)
URL   : https://patchwork.freedesktop.org/series/66196/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_6833 -> Patchwork_14274
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_14274 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_14274, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_14274:

### IGT changes ###

#### Possible regressions ####

  * igt@gem_exec_suspend@basic-s3:
    - fi-kbl-r:           [PASS][1] -> [DMESG-WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-kbl-r/igt@gem_exec_suspend@basic-s3.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-kbl-r/igt@gem_exec_suspend@basic-s3.html
    - fi-skl-lmem:        [PASS][3] -> [DMESG-WARN][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-skl-lmem/igt@gem_exec_suspend@basic-s3.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-skl-lmem/igt@gem_exec_suspend@basic-s3.html
    - fi-whl-u:           [PASS][5] -> [DMESG-WARN][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-whl-u/igt@gem_exec_suspend@basic-s3.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-whl-u/igt@gem_exec_suspend@basic-s3.html
    - fi-kbl-x1275:       [PASS][7] -> [DMESG-WARN][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-kbl-x1275/igt@gem_exec_suspend@basic-s3.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-kbl-x1275/igt@gem_exec_suspend@basic-s3.html
    - fi-skl-6600u:       [PASS][9] -> [DMESG-WARN][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-skl-6600u/igt@gem_exec_suspend@basic-s3.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-skl-6600u/igt@gem_exec_suspend@basic-s3.html

  * igt@kms_force_connector_basic@force-connector-state:
    - fi-kbl-guc:         [PASS][11] -> [DMESG-WARN][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-kbl-guc/igt@kms_force_connector_basic@force-connector-state.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-kbl-guc/igt@kms_force_connector_basic@force-connector-state.html

  * igt@runner@aborted:
    - fi-whl-u:           NOTRUN -> [FAIL][13]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-whl-u/igt@runner@aborted.html
    - fi-bxt-dsi:         NOTRUN -> [FAIL][14]
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-bxt-dsi/igt@runner@aborted.html
    - fi-apl-guc:         NOTRUN -> [FAIL][15]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-apl-guc/igt@runner@aborted.html
    - fi-kbl-guc:         NOTRUN -> [FAIL][16]
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-kbl-guc/igt@runner@aborted.html

  
#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * igt@gem_exec_suspend@basic-s3:
    - {fi-kbl-soraka}:    [PASS][17] -> [DMESG-WARN][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-kbl-soraka/igt@gem_exec_suspend@basic-s3.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-kbl-soraka/igt@gem_exec_suspend@basic-s3.html

  
Known issues
------------

  Here are the changes found in Patchwork_14274 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s4-devices:
    - fi-blb-e6850:       [PASS][19] -> [INCOMPLETE][20] ([fdo#107718])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6833/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718


Participating hosts (53 -> 46)
------------------------------

  Additional (1): fi-icl-u3 
  Missing    (8): fi-ilk-m540 fi-hsw-4200u fi-byt-j1900 fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_6833 -> Patchwork_14274

  CI-20190529: 20190529
  CI_DRM_6833: b9d119cf9ec2e09a7a21ec0cc72dea1f1ce89f7a @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5168: 04eac35177ba046ce55c495e510bc49443ec7429 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_14274: 3e31641ea606ed8c88e4ca2a798aca0e42d34cb4 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

3e31641ea606 drm/i915: Fix corruption lines on the screen on Gen9 chromebooks

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14274/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-04 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  8:46 [PATCH] drm/i915: Fix corruption lines on the screen on Gen9 chromebooks Gaurav K Singh
2019-09-04  9:44 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix corruption lines on the screen on Gen9 chromebooks (rev3) Patchwork
2019-09-04 10:21 ` ✗ Fi.CI.BAT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.