drm/i915/display/debugfs: New entry "DRRS capable" to i915_drrs_status
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>
Wed, 21 Feb 2024 11:12:23 +0000 (16:42 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 26 Feb 2024 04:03:39 +0000 (09:33 +0530)
commit20af10845864c9fe3d112f411c255ba5dae6e3ca
treecc130cda5033b226c2245f74ce180552e736dcf1
parent0be4e0a5203d38d40d3de44c9dab6c3acc44fef5
drm/i915/display/debugfs: New entry "DRRS capable" to i915_drrs_status

If the connected panel supports both DRRS & PSR, driver gives preference
to PSR ("DRRS enabled: no"). Even though the hardware supports DRRS,
IGT treats ("DRRS enabled: yes") as not capable.

Introduce a new entry "DRRS capable" to debugfs i915_drrs_status, so
that IGT will read the DRRS capability as "DRRS capable: yes".

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240221111223.2313692-1-bhanuprakash.modem@intel.com
drivers/gpu/drm/i915/display/intel_drrs.c