linux-next: build failure after merge of the drm-intel-fixes tree

From: Stephen Rothwell
Date: Tue Nov 03 2020 - 17:37:14 EST


Hi all,

After merging the drm-intel-fixes tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'gen12_emit_fini_breadcrumb':
drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: error: implicit declaration of function '__gen8_emit_flush_dw'; did you mean 'gen8_emit_flush'? [-Werror=implicit-function-declaration]
4998 | cs = emit_xcs_breadcrumb(rq, __gen8_emit_flush_dw(cs, 0, 0, 0));
| ^~~~~~~~~~~~~~~~~~~~
| gen8_emit_flush
drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: warning: passing argument 2 of 'emit_xcs_breadcrumb' makes pointer from integer without a cast [-Wint-conversion]
4998 | cs = emit_xcs_breadcrumb(rq, __gen8_emit_flush_dw(cs, 0, 0, 0));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/gt/intel_lrc.c:4902:63: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'int'
4902 | static u32 *emit_xcs_breadcrumb(struct i915_request *rq, u32 *cs)
| ~~~~~^~

Caused by commit

c94d65d2ff6d ("drm/i915/gt: Flush xcs before tgl breadcrumbs")

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpxYsI3FCZO9.pgp
Description: OpenPGP digital signature