summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_panel.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-31 14:28:15 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-31 14:28:15 +0300
commit05d2d45e8736e91dfb7da28c2f51aa8e5cdc7d1f (patch)
tree2089a4781420eaa61572bfd65e9d4d75b7a73ca8 /drivers/gpu/drm/i915/display/intel_panel.c
parent54746f57f08959c68986c335b3156da6846d0ec2 (diff)
downloadlinux-05d2d45e8736e91dfb7da28c2f51aa8e5cdc7d1f.tar.gz
linux-05d2d45e8736e91dfb7da28c2f51aa8e5cdc7d1f.tar.bz2
linux-05d2d45e8736e91dfb7da28c2f51aa8e5cdc7d1f.zip
drm/i915: Nuke intel_drrs_init()
intel_drrs_init() is a mostly pointless wrapper around intel_panel_add_edid_downclock_mode(), get rid of it. The only really useful thing left in there is the debug print regarding the DRRS type supported by the connector. Let's just move that into intel_panel_init(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220331112822.11462-5-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_panel.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_panel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_panel.c b/drivers/gpu/drm/i915/display/intel_panel.c
index 1e56ca9033e0..5ecc6fc80588 100644
--- a/drivers/gpu/drm/i915/display/intel_panel.c
+++ b/drivers/gpu/drm/i915/display/intel_panel.c
@@ -35,6 +35,7 @@
#include "intel_connector.h"
#include "intel_de.h"
#include "intel_display_types.h"
+#include "intel_drrs.h"
#include "intel_panel.h"
bool intel_panel_use_ssc(struct drm_i915_private *i915)
@@ -634,6 +635,11 @@ int intel_panel_init(struct intel_connector *connector)
intel_backlight_init_funcs(panel);
+ drm_dbg_kms(connector->base.dev,
+ "[CONNECTOR:%d:%s] DRRS type: %s\n",
+ connector->base.base.id, connector->base.name,
+ intel_drrs_type_str(intel_panel_drrs_type(connector)));
+
return 0;
}