]> git.baikalelectronics.ru Git - kernel.git/commit
drm/debug: Expose connector's max supported bpc via debugfs
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>
Thu, 19 May 2022 09:51:47 +0000 (15:21 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 May 2022 08:27:36 +0000 (11:27 +0300)
commiteb16e2a0f5322b602ba8c0776aea2e80eb7cdf63
tree22ef7296fb40db1db03cafd2a89ff77415e5da53
parent1ebda5cae40d31d7366fb1ea207d18951e032770
drm/debug: Expose connector's max supported bpc via debugfs

It's useful to know the connector's max supported bpc for IGT
testing. Expose it via a debugfs file on the connector "output_bpc".

Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc

V2:
* Fix typo in comments (Harry)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220519095149.3560034-2-bhanuprakash.modem@intel.com
drivers/gpu/drm/drm_debugfs.c