linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS")
@ 2022-09-20 11:47 Sudip Mukherjee
  2022-09-20 12:12 ` Christian König
  0 siblings, 1 reply; 2+ messages in thread
From: Sudip Mukherjee @ 2022-09-20 11:47 UTC (permalink / raw)
  To: Christian König, Alex Deucher
  Cc: Pan, Xinhui, David Airlie, Daniel Vetter, Sumit Semwal,
	Philip Yang, amd-gfx, dri-devel, linux-kernel, linux-media,
	linaro-mm-sig, linux-next, Nathan Chancellor, llvm

Hi All,

The builds of arm64 allmodconfig with clang failed to build next-20220920
with the error:

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1190:3: error: variable 'r' is uninitialized when used here [-Werror,-Wuninitialized]
                r |= !amdgpu_ttm_tt_get_user_pages_done(bo->tbo.ttm);
                ^
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1171:7: note: initialize the variable 'r' to silence this warning
        int r;
             ^
              = 0
1 error generated.


git bisect pointed to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS")

I will be happy to test any patch or provide any extra log if needed.


-- 
Regards
Sudip

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS")
  2022-09-20 11:47 build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") Sudip Mukherjee
@ 2022-09-20 12:12 ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2022-09-20 12:12 UTC (permalink / raw)
  To: Sudip Mukherjee, Alex Deucher
  Cc: Pan, Xinhui, David Airlie, Daniel Vetter, Sumit Semwal,
	Philip Yang, amd-gfx, dri-devel, linux-kernel, linux-media,
	linaro-mm-sig, linux-next, Nathan Chancellor, llvm

Thanks for pointing this out! It's indeed quite a bug.

Going to send a patch ASAP.

Regards,
Christian.

Am 20.09.22 um 13:47 schrieb Sudip Mukherjee:
> Hi All,
>
> The builds of arm64 allmodconfig with clang failed to build next-20220920
> with the error:
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1190:3: error: variable 'r' is uninitialized when used here [-Werror,-Wuninitialized]
>                  r |= !amdgpu_ttm_tt_get_user_pages_done(bo->tbo.ttm);
>                  ^
> drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1171:7: note: initialize the variable 'r' to silence this warning
>          int r;
>               ^
>                = 0
> 1 error generated.
>
>
> git bisect pointed to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS")
>
> I will be happy to test any patch or provide any extra log if needed.
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-20 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 11:47 build failure of next-20220920 due to c2b08e7a6d27 ("drm/amdgpu: move entity selection and job init earlier during CS") Sudip Mukherjee
2022-09-20 12:12 ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).