drm/amd/display: Create trigger_hotplug entry
authorYueHaibing <yuehaibing@huawei.com>
Thu, 10 Sep 2020 03:13:52 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:43 +0000 (17:52 -0400)
Add trigger_hotplug debugfs entry.

Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c

index 47cc39a..004cd8d 100644 (file)
@@ -2146,6 +2146,7 @@ static const struct {
        const struct file_operations *fops;
 } dp_debugfs_entries[] = {
                {"link_settings", &dp_link_settings_debugfs_fops},
+               {"trigger_hotplug", &dp_trigger_hotplug_debugfs_fops},
                {"phy_settings", &dp_phy_settings_debugfs_fop},
                {"test_pattern", &dp_phy_test_pattern_fops},
 #ifdef CONFIG_DRM_AMD_DC_HDCP