drm/i915/display: Do not use stolen on MTL
authorNirmoy Das <nirmoy.das@intel.com>
Thu, 13 Jul 2023 15:01:42 +0000 (17:01 +0200)
committerNirmoy Das <nirmoy.das@intel.com>
Mon, 17 Jul 2023 09:35:24 +0000 (11:35 +0200)
commitc5741c5c1122b7944d9af185c83ab7056153259e
treed96a85b3354e1dc100925ca68eb35f98cb844d32
parent290d161045753240f2100b8f44660426ecc97be5
drm/i915/display: Do not use stolen on MTL

Use smem on MTL due to a HW bug in MTL that prevents
reading from stolen memory using LMEM BAR.

v2 and v3: improve stolen skip detection(Andrzej)

Cc: Oak Zeng <oak.zeng@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230713150142.12700-2-nirmoy.das@intel.com
drivers/gpu/drm/i915/display/intel_fbdev.c
drivers/gpu/drm/i915/display/intel_overlay.c