summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_connector.c
diff options
context:
space:
mode:
authorAnshuman Gupta <anshuman.gupta@intel.com>2020-04-15 20:05:54 +0300
committerUma Shankar <uma.shankar@intel.com>2020-04-17 10:42:10 +0300
commit76a23f06011dcc19c6769a45f2c788da70a93130 (patch)
tree60e19ecf1df10ed60a67f89ef1df0f2f64c2d738 /drivers/gpu/drm/i915/display/intel_connector.c
parent8806211fe7b30696c1fcae54b73c94abfdf55893 (diff)
downloadlinux-76a23f06011dcc19c6769a45f2c788da70a93130.tar.xz
drm/i915: Add connector dbgfs for all connectors
Add connector debugfs attributes for each intel connector which is getting register. v2: - adding connector debugfs for each connector in intel_connector_register() to fix CI failure for legacy connectors. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Signed-off-by: Uma Shankar <uma.shankar@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200415170555.15531-4-anshuman.gupta@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_connector.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_connector.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_connector.c b/drivers/gpu/drm/i915/display/intel_connector.c
index 98ec2ea86c7c..406e96785c76 100644
--- a/drivers/gpu/drm/i915/display/intel_connector.c
+++ b/drivers/gpu/drm/i915/display/intel_connector.c
@@ -33,6 +33,7 @@
#include "i915_drv.h"
#include "intel_connector.h"
+#include "intel_display_debugfs.h"
#include "intel_display_types.h"
#include "intel_hdcp.h"
@@ -123,6 +124,8 @@ int intel_connector_register(struct drm_connector *connector)
goto err_backlight;
}
+ intel_connector_debugfs_add(connector);
+
return 0;
err_backlight: