drm/i915/fbc: Register per-crtc debugfs files
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Dec 2021 15:14:35 +0000 (17:14 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Dec 2021 15:02:40 +0000 (17:02 +0200)
commite74c6aa955caedd06b5ade58e31e33338e4efde6
treedd80acfdb2bb5d1482c6086d886db46f9496d774
parentb8ca477e51318d28f7514abfb5a369e11848a8cf
drm/i915/fbc: Register per-crtc debugfs files

Expose FBC debugfs files for each crtc. These may or may not point
to the same FBC instance depending on the platform.

We leave the old global debugfs files in place until
igt catches up to the new per-crtc approach.

v2: Take a trip via intel_crtc_debugfs_add() (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211213151435.9700-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_debugfs.c
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/i915/display/intel_fbc.h