Skip to contentSkip to conversation

TTM/nouveau conflict in drm-misc-next

DISCUSSION Koenig, Christian 5 participants 5 messages Aug 14, 2020 – Aug 18, 2020

lore
Share & tools
lore
#0 lore raw

Am 14.08.2020 17:53 schrieb Alex Deucher <[email protected]>:

Quoted 7 lines · Christian König

Hey Thomas & Alex,

well the TTM and Nouveau changes look good to me, but this completely broke amdgpu.

Alex any idea what is going on here?

What's broken in amdgpu? There shouldn't be any ttm changes in amdgpu for drm-next. Those all go through drm-misc.

It's not a TTM change.

The backmerge of drm-next into drm-misc-next broke amdgpu so that even glxgears doesn't work anymore.

But each individual merge head still works fine as far as I can say.

Any idea how to track that down?

Christian.

Alex

Quoted 13 lines

Regards,
Christian.

Am 12.08.20 um 21:10 schrieb Thomas Zimmermann:

Quoted 8 lines

Hi Christian and Ben,

I backmerged drm-next into drm-misc-next and had a conflict between ttm and nouveau. struct ttm_mem_res got renamed to struct ttm_resource. I updated nouveau to the new name, test-built, and pushed the result to drm-misc-next. If either of you has a minute, you may want to double check the merge.

Quoted 8 lines
Quoted 3 lines

Best regards
Thomas

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cchristian.koenig%40amd.com%7Ca1aefc1ee22a4e733df908d8406a395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637330172275088649&amp;sdata=X2ZJUETwoq884Xtg66sDudjXB%2F3s%2BgRglnh33gpU4Hc%3D&amp;reserved=0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#1 lore raw
Quoted 19 lines · Christian

Am 14.08.2020 17:53 schrieb Alex Deucher <[email protected]>:

Quoted 7 lines · Christian König

Hey Thomas & Alex,

well the TTM and Nouveau changes look good to me, but this completely broke amdgpu.

Alex any idea what is going on here?

What's broken in amdgpu? There shouldn't be any ttm changes in amdgpu for drm-next. Those all go through drm-misc.

Quoted 7 lines

It's not a TTM change.

The backmerge of drm-next into drm-misc-next broke amdgpu so that even glxgears doesn't work anymore.

But each individual merge head still works fine as far as I can say.

Any idea how to track that down?

Weird. Anything in the logs?

Alex

Quoted 29 lines

Christian.

Alex

Quoted 21 lines

Regards,
Christian.

Am 12.08.20 um 21:10 schrieb Thomas Zimmermann:

Quoted 11 lines

Hi Christian and Ben,

I backmerged drm-next into drm-misc-next and had a conflict between ttm and nouveau. struct ttm_mem_res got renamed to struct ttm_resource. I updated nouveau to the new name, test-built, and pushed the result to drm-misc-next. If either of you has a minute, you may want to double check the merge.

Best regards
Thomas

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cchristian.koenig%40amd.com%7Ca1aefc1ee22a4e733df908d8406a395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637330172275088649&amp;sdata=X2ZJUETwoq884Xtg66sDudjXB%2F3s%2BgRglnh33gpU4Hc%3D&amp;reserved=0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#2 lore raw
In reply to Koenig, Christian

Hi

Am 14.08.20 um 18:21 schrieb Koenig, Christian:

Quoted 18 lines

Am 14.08.2020 17:53 schrieb Alex Deucher <[email protected]>:

On Fri, Aug 14, 2020 at 11:22 AM Christian König <[email protected]> wrote:
>
> Hey Thomas & Alex,
>
> well the TTM and Nouveau changes look good to me, but this completely > broke amdgpu.
>
> Alex any idea what is going on here?

What's broken in amdgpu?  There shouldn't be any ttm changes in amdgpu for drm-next.  Those all go through drm-misc.

Quoted 8 lines

It's not a TTM change.

The backmerge of drm-next into drm-misc-next broke amdgpu so that even glxgears doesn't work anymore.

But each individual merge head still works fine as far as I can say.

Any idea how to track that down?

The backmerge brought in

Fixes 16e6eea29d7b ("Merge tag 'amd-drm-fixes-5.9-2020-08-07' ...)

which has quite a few commit. Maybe it's in one of them.

Best regards
Thomas

Quoted 29 lines

Christian.

Alex

>
> Regards,
> Christian.
>
> Am 12.08.20 um 21:10 schrieb Thomas Zimmermann:
> > Hi Christian and Ben,
> >
> > I backmerged drm-next into drm-misc-next and had a conflict between ttm
> > and nouveau. struct ttm_mem_res got renamed to struct ttm_resource. I
> > updated nouveau to the new name, test-built, and pushed the result to
> > drm-misc-next. If either of you has a minute, you may want to double
> > check the merge.
> >
> > Best regards
> > Thomas
> >
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cchristian.koenig%40amd.com%7Ca1aefc1ee22a4e733df908d8406a395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637330172275088649&amp;sdata=X2ZJUETwoq884Xtg66sDudjXB%2F3s%2BgRglnh33gpU4Hc%3D&amp;reserved=0

Signature · 6 lines
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw

Am 17.08.20 um 08:31 schrieb Thomas Zimmermann:

Quoted 25 lines

Hi

Am 14.08.20 um 18:21 schrieb Koenig, Christian:

Quoted 22 lines

Am 14.08.2020 17:53 schrieb Alex Deucher <[email protected]>:

On Fri, Aug 14, 2020 at 11:22 AM Christian König <[email protected]> wrote:
>
> Hey Thomas & Alex,
>
> well the TTM and Nouveau changes look good to me, but this completely > broke amdgpu.
>
> Alex any idea what is going on here?

What's broken in amdgpu?  There shouldn't be any ttm changes in amdgpu for drm-next.  Those all go through drm-misc.

It's not a TTM change.

The backmerge of drm-next into drm-misc-next broke amdgpu so that even glxgears doesn't work anymore.

Quoted 8 lines
Quoted 3 lines

But each individual merge head still works fine as far as I can say.

Any idea how to track that down?

The backmerge brought in

   Fixes: 16e6eea29d7b ("Merge tag 'amd-drm-fixes-5.9-2020-08-07' ...)

which has quite a few commit. Maybe it's in one of them.

Nope, I have just double checked that I can revert either parent of the merge and the problem disappears.

I somehow need to figure out how to cleanly revert all patches in one branch one by one and then do a reverse bisect. Oh, sometimes I love my job :(

If anybody has a good idea how to do this please speak up.

Thanks,
Christian.

Quoted 33 lines

Best regards
Thomas

Quoted 18 lines

Christian.

Alex

>
> Regards,
> Christian.
>
> Am 12.08.20 um 21:10 schrieb Thomas Zimmermann:
> > Hi Christian and Ben,
> >
> > I backmerged drm-next into drm-misc-next and had a conflict between ttm > > and nouveau. struct ttm_mem_res got renamed to struct ttm_resource. I > > updated nouveau to the new name, test-built, and pushed the result to > > drm-misc-next. If either of you has a minute, you may want to double > > check the merge.
> >

Quoted 10 lines

> > Best regards
> > Thomas
> >
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cchristian.koenig%40amd.com%7Ca1aefc1ee22a4e733df908d8406a395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637330172275088649&amp;sdata=X2ZJUETwoq884Xtg66sDudjXB%2F3s%2BgRglnh33gpU4Hc%3D&amp;reserved=0

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#4 lore raw

[AMD Public Use]

Double check for mis-merges on patches that went upstream via -fixes and -next.

Alex
________________________________
From: Christian König <[email protected]>
Sent: Tuesday, August 18, 2020 11:06 AM
To: Thomas Zimmermann <[email protected]>; Koenig, Christian <[email protected]>; Alex Deucher <[email protected]>
Cc: Deucher, Alexander <[email protected]>; [email protected] <[email protected]>
Subject: Re: TTM/nouveau conflict in drm-misc-next

Am 17.08.20 um 08:31 schrieb Thomas Zimmermann:

Hi

Am 14.08.20 um 18:21 schrieb Koenig, Christian:

Am 14.08.2020 17:53 schrieb Alex Deucher <[email protected]><mailto:[email protected]>:

On Fri, Aug 14, 2020 at 11:22 AM Christian König <[email protected]><mailto:[email protected]> wrote:
>
> Hey Thomas & Alex,
>
> well the TTM and Nouveau changes look good to me, but this completely > broke amdgpu.
>
> Alex any idea what is going on here?

What's broken in amdgpu? There shouldn't be any ttm changes in amdgpu for drm-next. Those all go through drm-misc.

It's not a TTM change.

The backmerge of drm-next into drm-misc-next broke amdgpu so that even glxgears doesn't work anymore.

But each individual merge head still works fine as far as I can say.

Any idea how to track that down?

The backmerge brought in

Fixes 16e6eea29d7b ("Merge tag 'amd-drm-fixes-5.9-2020-08-07' ...)

which has quite a few commit. Maybe it's in one of them.

Nope, I have just double checked that I can revert either parent of the merge and the problem disappears.

I somehow need to figure out how to cleanly revert all patches in one branch one by one and then do a reverse bisect. Oh, sometimes I love my job :(

If anybody has a good idea how to do this please speak up.

Thanks,
Christian.

Best regards
Thomas

Christian.

Alex

>
> Regards,
> Christian.
>
> Am 12.08.20 um 21:10 schrieb Thomas Zimmermann:
> > Hi Christian and Ben,
> >
> > I backmerged drm-next into drm-misc-next and had a conflict between ttm
> > and nouveau. struct ttm_mem_res got renamed to struct ttm_resource. I
> > updated nouveau to the new name, test-built, and pushed the result to
> > drm-misc-next. If either of you has a minute, you may want to double
> > check the merge.
> >
> > Best regards
> > Thomas
> >
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]<mailto:[email protected]>
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cchristian.koenig%40amd.com%7Ca1aefc1ee22a4e733df908d8406a395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637330172275088649&amp;sdata=X2ZJUETwoq884Xtg66sDudjXB%2F3s%2BgRglnh33gpU4Hc%3D&amp;reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CAlexander.Deucher%40amd.com%7Cd4023becdee744c639ae08d843885b15%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637333600213437608&sdata=pbqERBZPwTFVObebH8KIPIxOtDYrjMu4SIaJ%2FF13cXk%3D&reserved=0>

_______________________________________________
amd-gfx mailing list [email protected]<mailto:[email protected]>
https://lists.freedesktop.org/mailman/listinfo/amd-gfx<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CAlexander.Deucher%40amd.com%7Cd4023becdee744c639ae08d843885b15%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637333600213447604&sdata=r8BFPhKT1KzcpVZQIy0Im4%2Bjb9S75c7doKvtH2FGjA8%3D&reserved=0>

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx