]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: correct dual pps handling for MTL_PCH+
authorDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Thu, 1 Aug 2024 11:11:41 +0000 (16:41 +0530)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 5 Aug 2024 09:41:14 +0000 (12:41 +0300)
commit1b85bdb0fadb42f5ef75ddcd259fc1ef13ec04de
tree78962ce49f4788614b19735940c9d9fdb4723ba0
parentde9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed
drm/i915/display: correct dual pps handling for MTL_PCH+

On the PCH side the second PPS was introduced in ICP+.Add condition
On MTL_PCH and greater platform also having the second PPS.

Note that DG1/2 south block only has the single PPS, so need
to exclude the fake DG1/2 PCHs

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11488
Fixes: 93cbc1accbce ("drm/i915/mtl: Add fake PCH for Meteor Lake")
Cc: <stable@vger.kernel.org> # v6.9+
Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801111141.574854-1-dnyaneshwar.bhadane@intel.com
(cherry picked from commit da1878b61c8d480c361ba6a39ce8a31c80b65826)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/display/intel_backlight.c
drivers/gpu/drm/i915/display/intel_pps.c