diff options
author | 2022-04-20 19:16:11 +0100 | |
---|---|---|
committer | 2022-04-21 10:10:35 +0100 | |
commit | be77bb3e8d4d47a3ab7bd2dd5bf76092b33e08a2 (patch) | |
tree | cf55af5c185cd5ee19cc41a78278566c775e7ab5 /drivers/pci/controller/dwc | |
parent | drm/i915: consider min_page_size when migrating (diff) | |
download | wireguard-linux-be77bb3e8d4d47a3ab7bd2dd5bf76092b33e08a2.tar.xz wireguard-linux-be77bb3e8d4d47a3ab7bd2dd5bf76092b33e08a2.zip |
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
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions