Module Name:    src
Committed By:   riastradh
Date:           Sun Feb 27 21:23:39 UTC 2022

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915/display: intel_psr.h

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h
diff -u src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h:1.2 src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h:1.3
--- src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h:1.2	Sat Dec 18 23:45:30 2021
+++ src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.h	Sun Feb 27 21:23:39 2022
@@ -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 drm_i915_private;
 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);

Reply via email to