[PATCH i-g-t] lib/dsc: use intel_display_caps instead of i915_display_capabilities

Sharma, Swati2 swati2.sharma at intel.com
Wed Mar 26 05:54:05 UTC 2025


Hi Jani,

Have few queries:
1. Are we going to remove i915_display_capabilities ?
2. Since this new debugfs intel_display_caps, has prefix "intel" whereas 
all other debugfs still has "i915"
Are we going to make this change to other display related debugfs too?

On 25-03-2025 06:38 pm, Jani Nikula wrote:
> Turns out we've added two similar files in kernel. Consolidate on
> intel_display_caps as the more driver independent name.
>
> Cc: Swati Sharma <swati2.sharma at intel.com>
> Cc: Vinod Govindapillai <vinod.govindapillai at intel.com>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>   lib/igt_dsc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/igt_dsc.c b/lib/igt_dsc.c
> index 8d259b7344a6..4caad39db7a9 100644
> --- a/lib/igt_dsc.c
> +++ b/lib/igt_dsc.c
> @@ -56,7 +56,7 @@ bool igt_is_dsc_supported_by_source(int drmfd)
>   	dir = igt_debugfs_dir(drmfd);
>   	igt_assert(dir >= 0);
>   
> -	res = igt_debugfs_simple_read(dir, "i915_display_capabilities",
> +	res = igt_debugfs_simple_read(dir, "intel_display_caps",
>   				      buf, sizeof(buf));
>   	close(dir);
>   



More information about the igt-dev mailing list