Matthew Auld be77bb3e8d drm/i915/buddy: sanity check the size
Ensure we check that the size is compatible with the requested
page_size. For tiny objects that are automatically annotated with
TTM_PL_FLAG_CONTIGUOUS(since they fit within a single page), we
currently end up silently overriding the min_page_size, which ends up
hiding bugs elsewhere.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220420181613.70033-2-matthew.auld@intel.com
2022-04-21 10:10:35 +01:00
..
2021-10-07 11:04:05 -07:00
2022-03-28 09:06:29 +01:00
2022-03-28 09:06:29 +01:00
2022-03-07 08:50:52 +01:00
2021-12-17 21:51:59 -08:00
2022-03-24 16:19:43 -07:00
2022-03-24 16:19:43 -07:00