drm/buddy: stop using PAGE_SIZE
authorMatthew Auld <matthew.auld@intel.com>
Thu, 29 Feb 2024 10:51:13 +0000 (10:51 +0000)
committerChristian König <christian.koenig@amd.com>
Fri, 17 May 2024 10:56:42 +0000 (12:56 +0200)
commit117bbc0e43adc6f76a3fc39a98f75a811a853459
tree58fae28cf1ed47b7d61c19364e9f58682a3c723f
parentaed9a1a4f7106ff99a882ad06318cebfa71016a2
drm/buddy: stop using PAGE_SIZE

The drm_buddy minimum page-size requirements should be distinct from the
CPU PAGE_SIZE. Only restriction is that the minimum page-size is at
least 4K.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240229105112.250077-3-matthew.auld@intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/drm_buddy.c
include/drm/drm_buddy.h