[PATCH] drm/amd/display: Add pixel encoding info to debugfs

2024-05-21 Thread Rino Andre Johnsen
[Why] For debugging and testing purposes. [How] Create amdgpu_current_pixelencoding debugfs entry. Usage: cat /sys/kernel/debug/dri/1/crtc-0/amdgpu_current_pixelencoding Signed-off-by: Rino Andre Johnsen --- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 47 +++ 1 file changed

[PATCH v2] drm/amd/display: Add pixel encoding info to debugfs

2024-05-21 Thread Rino Andre Johnsen
[Why] For debugging and testing purposes. [How] Create amdgpu_current_pixelencoding debugfs entry. Usage: cat /sys/kernel/debug/dri/1/crtc-0/amdgpu_current_pixelencoding Signed-off-by: Rino Andre Johnsen --- Changes in v2: 1. Do not initialize dm_crtc_state to NULL. --- .../amd/display