Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display i915: Disable PS...



details:   https://anonhg.NetBSD.org/src/rev/e8a8b04156cf
branches:  trunk
changeset: 362465:e8a8b04156cf
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Feb 27 21:23:39 2022 +0000

description:
i915: Disable PSR for now.

Something seems to be wrong with it, causing the display to get
stuck.  To be diagnosed -- this is a performance optimization, but
it's better to work than to fail to work even if failing to work
costs a little less energy!

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 91de02feb6b2 -r e8a8b04156cf sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h   Sun Feb 27 21:22:09 2022 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h   Sun Feb 27 21:23:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_psr.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $  */
+/*     $NetBSD: intel_psr.h,v 1.3 2022/02/27 21:23:39 riastradh Exp $  */
 
 /* SPDX-License-Identifier: MIT */
 /*
@@ -16,7 +16,8 @@
 struct intel_crtc_state;
 struct intel_dp;
 
-#define CAN_PSR(dev_priv) (HAS_PSR(dev_priv) && dev_priv->psr.sink_support)
+/* PSR is disabled on NetBSD for now until we find what's wrong with it */
+#define CAN_PSR(dev_priv) 0//(HAS_PSR(dev_priv) && dev_priv->psr.sink_support)
 void intel_psr_init_dpcd(struct intel_dp *intel_dp);
 void intel_psr_enable(struct intel_dp *intel_dp,
                      const struct intel_crtc_state *crtc_state);



Home | Main Index | Thread Index | Old Index