]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/alpm: Enable lobf from source in ALPM_CTL
authorAnimesh Manna <animesh.manna@intel.com>
Wed, 29 May 2024 20:07:41 +0000 (01:37 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Fri, 31 May 2024 05:25:56 +0000 (10:55 +0530)
commit5a9b255fdb2b235502bcfc0951d71c0c3f6d030e
tree9acfb3a2d2ade1b9d9ae07027e104c38ee282abe
parent15438b32598744cf207398dc3e02bf88db42cf9a
drm/i915/alpm: Enable lobf from source in ALPM_CTL

Set the Link Off Between Frames Enable bit in ALPM_CTL register.

Note: Lobf need to be enabled adaptive sync fixed refresh mode
where vmin = vmax = flipline, which will arise after cmmr feature
enablement. Will add enabling sequence in a separate patch.

v1: Initial version.
v2: Condition check modified in alpm_configure(). [Jouni]

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240529200742.1694401-6-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_alpm.h
drivers/gpu/drm/i915/display/intel_psr.c