[Intel-xe] [PATCH 6/7] fixup! drm/i915: Remove gem and overlay frontbuffer tracking

Lucas De Marchi lucas.demarchi at intel.com
Mon May 15 13:15:18 UTC 2023


On Fri, May 12, 2023 at 02:03:12PM -0400, Rodrigo Vivi wrote:
>drivers/gpu/drm/i915/display/intel_sprite.c: In function ‘intel_sprite_plane_create’:
>drivers/gpu/drm/i915/display/intel_sprite.c:1630:34: error: implicit declaration of function ‘INTEL_FRONTBUFFER’; did you mean ‘SNB_FBC_FRONT_BUFFER’? [-Werror=implicit-function-declaration]
> 1630 |         plane->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, plane->id);
>      |                                  ^~~~~~~~~~~~~~~~~
>      |                                  SNB_FBC_FRONT_BUFFER
>cc1: some warnings being treated as errors
>make[1]: *** [scripts/Makefile.build:252: drivers/gpu/drm/i915/display/intel_sprite.o] Error 1
>make[1]: *** Waiting for unfinished jobs....
>make: *** [Makefile:2025: drivers/gpu/drm/i915] Error 2
>
>Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>


Acked-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

>---
> drivers/gpu/drm/i915/display/intel_sprite.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c b/drivers/gpu/drm/i915/display/intel_sprite.c
>index d9713094735b..718fe026c5f7 100644
>--- a/drivers/gpu/drm/i915/display/intel_sprite.c
>+++ b/drivers/gpu/drm/i915/display/intel_sprite.c
>@@ -46,6 +46,7 @@
> #include "intel_de.h"
> #include "intel_display_types.h"
> #include "intel_fb.h"
>+#include "intel_frontbuffer.h"
> #include "intel_sprite.h"
>
> static void i9xx_plane_linear_gamma(u16 gamma[8])
>-- 
>2.39.2
>


More information about the Intel-xe mailing list