mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04:00
drm/i915/psr: vbt.psr.enable is only for eDP panels
We don't want to check vbt.psr.enable on DP Panel Replay as it is targeted for eDP panel usage only. Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241021073349.1222331-1-jouni.hogander@intel.com
This commit is contained in:
@@ -233,7 +233,9 @@ static bool psr_global_enabled(struct intel_dp *intel_dp)
|
||||
switch (intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK) {
|
||||
case I915_PSR_DEBUG_DEFAULT:
|
||||
if (display->params.enable_psr == -1)
|
||||
return connector->panel.vbt.psr.enable;
|
||||
return intel_dp_is_edp(intel_dp) ?
|
||||
connector->panel.vbt.psr.enable :
|
||||
true;
|
||||
return display->params.enable_psr;
|
||||
case I915_PSR_DEBUG_DISABLE:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user