]> www.infradead.org Git - nvme.git/commit
drm/i915/display: Cache adpative sync caps to use it later
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Thu, 4 Jul 2024 08:26:38 +0000 (13:56 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 9 Jul 2024 19:44:02 +0000 (15:44 -0400)
commitb2013783c4458a1fe8b25c0b249d2e878bcf6999
tree3907bb49e7dd3021b60e5a8873fa12e256feaf75
parent9fc97277eb2d17492de636b68cf7d2f5c4f15c1b
drm/i915/display: Cache adpative sync caps to use it later

Add new member to struct intel_dp to cache support of Adaptive Sync
SDP capabilities and use it whenever required to avoid HW access
to read capability during each atomic commit.

-v2:
- Squash both the patches

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240704082638.2302092-2-mitulkumar.ajitkumar.golani@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_vrr.c