drm/xe: Modify the cfb size to be page size aligned for FBC
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 12 Jan 2024 09:28:03 +0000 (11:28 +0200)
committerMika Kahola <mika.kahola@intel.com>
Fri, 19 Jan 2024 11:39:45 +0000 (13:39 +0200)
commit8ea8c918e7dbd5a61f9e98b8624437f1e295804c
treebe3df79e896b8424f1b9e12c5f4297a1d7b75e7d
parent43d48379c9399654059bd2af5898fc464641837c
drm/xe: Modify the cfb size to be page size aligned for FBC

drm_gem_private_object_init expect the object size be page size
aligned. The xe_bo create functions do not update the size for
any alignment requirements. So align cfb size to be page size
aligned in xe stolen memory handling.

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240112092803.61664-2-vinod.govindapillai@intel.com
drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h