Instead of mixing display & non-display stuff together, move display specific clock info to new debugfs. This patch will create a new debugfs "i915_cdclk_info" to expose Current & Max cdclk and Max pixel clock frequency info. Test-with: 20230412103448.826946-1-bhanuprakash.modem@xxxxxxxxx Bhanuprakash Modem (1): drm/i915/debugfs: New debugfs for display clock frequencies drivers/gpu/drm/i915/display/intel_cdclk.c | 25 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_cdclk.h | 1 + .../drm/i915/display/intel_display_debugfs.c | 1 + 3 files changed, 27 insertions(+) -- 2.40.0