drm/i915: probe lmem before the stolen portion
authorMatthew Auld <matthew.auld@intel.com>
Fri, 27 Jan 2023 16:03:21 +0000 (16:03 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 24 Feb 2023 11:37:57 +0000 (11:37 +0000)
commit957565a473a630a3d01932c7173860b33e7acdbd
tree92b3c945f2bc733d56bc2a31dcd31f6755d853d1
parent65c08339db1ada87afd6cfe7db8e60bb4851d919
drm/i915: probe lmem before the stolen portion

At the very least, we have some tests that force the BAR size for
testing purposes, which would result in different BAR size with
stolen-lmem vs normal lmem, since the BAR is only resized as part of the
normal lmem probing.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230127160321.374350-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_driver.c