drm/i915: gracefully error out on platform with small-bar
authorNirmoy Das <nirmoy.das@intel.com>
Wed, 11 May 2022 15:37:46 +0000 (17:37 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 17 May 2022 08:34:52 +0000 (09:34 +0100)
commit9e97c46f832d4669b4e52cde5ad0bd43423504eb
tree0e0ade192c68d3260193b551fe5afcf3b203f714
parent8f6de23184452793e60945a26ac40db435d7798d
drm/i915: gracefully error out on platform with small-bar

Currently we just fatally crash during module load if we encounter
small-BAR configuration on DG2. We have most of the support already, but
we lack the final uAPI bits to tie it all together.

Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
[mauld: reword the commit and error message slightly]
Link: https://patchwork.freedesktop.org/patch/msgid/20220511153746.14142-3-nirmoy.das@intel.com
drivers/gpu/drm/i915/gt/intel_region_lmem.c