]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915/mtl: Add MTL for remapping CCS FBs
authorClint Taylor <clinton.a.taylor@intel.com>
Fri, 5 May 2023 14:40:05 +0000 (16:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jan 2024 12:39:00 +0000 (12:39 +0000)
commitde4349bdf9f3ba46d0e5e298924432957328ddfd
tree766a2ebefdc12b2d33e8cf38f7279d705754e7c0
parent52c1a67dd3039ba254484cb7740d9079663a80bd
drm/i915/mtl: Add MTL for remapping CCS FBs

[ Upstream commit 0da6bfe857ea9399498876cbe6ef428637b6e475 ]

Add support for remapping CCS FBs on MTL to remove the restriction
of the power-of-two sized stride and the 2MB surface offset alignment
for these FBs.

Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230505144005.23480-2-nirmoy.das@intel.com
Stable-dep-of: 324b70e997aa ("drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_fb.c