[Intel-xe] [PATCH v2 03/17] fixup! drm/i915/display: Allow fbdev to allocate stolen memory
Matt Roper
matthew.d.roper at intel.com
Fri Apr 21 23:28:55 UTC 2023
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
On Fri, Apr 21, 2023 at 03:32:44PM -0700, Lucas De Marchi wrote:
> ---
> drivers/gpu/drm/i915/display/intel_fbdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_fbdev.c b/drivers/gpu/drm/i915/display/intel_fbdev.c
> index 46447dd58f3f..2d2388cbc626 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbdev.c
> @@ -349,7 +349,7 @@ static int intelfb_create(struct drm_fb_helper *helper,
> else
> info->fix.smem_start =
> pci_resource_start(pdev, 2) +
> - xe_bo_addr(obj, 0, GEN8_PAGE_SIZE, &lmem);
> + xe_bo_addr(obj, 0, XE_PAGE_SIZE, &lmem);
>
> info->fix.smem_len = obj->ttm.base.size;
> } else {
> --
> 2.39.0
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-xe
mailing list