summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-05-31 22:18:40 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-06-01 16:45:24 +0300
commit2db7d421cc5ca86bdcf57f2634f6eefdf349f998 (patch)
treea660af5fbbe14aeda192794815f9402f2ce0bae7 /drivers/gpu/drm/i915
parentfba99b1ab7bde41c1eb00431df37b9237be3681e (diff)
downloadlinux-2db7d421cc5ca86bdcf57f2634f6eefdf349f998.tar.gz
linux-2db7d421cc5ca86bdcf57f2634f6eefdf349f998.tar.bz2
linux-2db7d421cc5ca86bdcf57f2634f6eefdf349f998.zip
drm/i915: Print out rejected fixed modes
To help with debugging DRRS/VRR panel init let's dump out all the fixed modes we rejected for whatever reason. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220531191844.11313-3-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/display/intel_panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_panel.c b/drivers/gpu/drm/i915/display/intel_panel.c
index d055e4118558..f55e4eafd74e 100644
--- a/drivers/gpu/drm/i915/display/intel_panel.c
+++ b/drivers/gpu/drm/i915/display/intel_panel.c
@@ -217,6 +217,10 @@ static void intel_panel_destroy_probed_modes(struct intel_connector *connector)
struct drm_display_mode *mode, *next;
list_for_each_entry_safe(mode, next, &connector->base.probed_modes, head) {
+ drm_dbg_kms(&i915->drm,
+ "[CONNECTOR:%d:%s] not using EDID mode: " DRM_MODE_FMT "\n",
+ connector->base.base.id, connector->base.name,
+ DRM_MODE_ARG(mode));
list_del(&mode->head);
drm_mode_destroy(&i915->drm, mode);
}