[Intel-xe] [PATCH v2 02/17] fixup! drm/i915/display: Remaining changes to make xe compile
Matt Roper
matthew.d.roper at intel.com
Fri Apr 21 23:28:34 UTC 2023
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
On Fri, Apr 21, 2023 at 03:32:43PM -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 ed996546edfc..46447dd58f3f 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbdev.c
> @@ -165,7 +165,7 @@ static int intelfb_alloc(struct drm_fb_helper *helper,
> DIV_ROUND_UP(sizes->surface_bpp, 8), 64);
> #else
> mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
> - DIV_ROUND_UP(sizes->surface_bpp, 8), GEN8_PAGE_SIZE);
> + DIV_ROUND_UP(sizes->surface_bpp, 8), XE_PAGE_SIZE);
> #endif
> mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
> sizes->surface_depth);
> --
> 2.39.0
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-xe
mailing list