Skip to contentSkip to conversation

Not 100% sure if I correctly fixed drm-tip

DISCUSSION Christian König 4 participants 8 messages Feb 11, 2021 – Feb 12, 2021

lore
Share & tools
lore
#1 lore raw

(cc'ing Jani)

Am 11.02.21 um 11:01 schrieb Christian König:

Quoted 12 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

Thanks,
Christian.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

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

#2 lore raw
In reply to Christian König
Quoted 7 lines · Christian König

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

BR,
Jani.

Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

Am 11.02.21 um 16:02 schrieb Jani Nikula:

Quoted 14 lines · Christian König
Quoted 7 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

Quoted 4 lines

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

Well exactly that's the issue. I've already had a fixup in drm-rerere for this.

But today I've pushed another fix to drm-misc-fixes which also conflicts with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools").

I've fixed this up as well and committed the solution. But dim then complained that the original fixup is now not applicable any more (which is true as far as I know).

This somehow went away when I said that dim should assume patch reversal, but I'm not sure if that's the right thing to do.

Thanks,
Christian.

Quoted 6 lines

BR,
Jani.

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

#4 lore raw
Quoted 29 lines · Christian König

Am 11.02.21 um 16:02 schrieb Jani Nikula:

Quoted 14 lines · Christian König
Quoted 7 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

Quoted 4 lines

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

Well exactly that's the issue. I've already had a fixup in drm-rerere for this.

But today I've pushed another fix to drm-misc-fixes which also conflicts with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools").

Quoted 6 lines

I've fixed this up as well and committed the solution. But dim then complained that the original fixup is now not applicable any more (which is true as far as I know).

This somehow went away when I said that dim should assume patch reversal, but I'm not sure if that's the right thing to do.

Nothing, it's all still broken. You need to delete the now unecessary fixup. As a rule, when rebuilding drm-tip failed always try again to confirm that what you've done actually fixed things (since sometimes git can also not remember where to apply the resolution for some odd reasons).

I'm fixing this now.
-Daniel

Quoted 11 lines

Thanks,
Christian.

Quoted 6 lines

BR,
Jani.

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

Am 11.02.21 um 18:22 schrieb Daniel Vetter:

Quoted 33 lines
Quoted 31 lines · Christian König

Am 11.02.21 um 16:02 schrieb Jani Nikula:

Quoted 14 lines · Christian König
Quoted 7 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

Quoted 4 lines

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

Well exactly that's the issue. I've already had a fixup in drm-rerere for this.

But today I've pushed another fix to drm-misc-fixes which also conflicts with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools").

I've fixed this up as well and committed the solution. But dim then complained that the original fixup is now not applicable any more (which is true as far as I know).

Quoted 7 lines
Quoted 2 lines

This somehow went away when I said that dim should assume patch reversal, but I'm not sure if that's the right thing to do.

Nothing, it's all still broken. You need to delete the now unecessary fixup. As a rule, when rebuilding drm-tip failed always try again to confirm that what you've done actually fixed things (since sometimes git can also not remember where to apply the resolution for some odd reasons).

My question is how to I remove the fixup now?

E.g. where can I find it?

Thanks,
Christian.

Quoted 13 lines

I'm fixing this now.
-Daniel

Quoted 8 lines

Thanks,
Christian.

Quoted 5 lines

BR,
Jani.

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

#6 lore raw
Quoted 44 lines · Christian König

Am 11.02.21 um 18:22 schrieb Daniel Vetter:

Quoted 33 lines
Quoted 31 lines · Christian König

Am 11.02.21 um 16:02 schrieb Jani Nikula:

Quoted 14 lines · Christian König
Quoted 7 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

Quoted 4 lines

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

Well exactly that's the issue. I've already had a fixup in drm-rerere for this.

But today I've pushed another fix to drm-misc-fixes which also conflicts with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools").

I've fixed this up as well and committed the solution. But dim then complained that the original fixup is now not applicable any more (which is true as far as I know).

Quoted 7 lines
Quoted 2 lines

This somehow went away when I said that dim should assume patch reversal, but I'm not sure if that's the right thing to do.

Nothing, it's all still broken. You need to delete the now unecessary fixup. As a rule, when rebuilding drm-tip failed always try again to confirm that what you've done actually fixed things (since sometimes git can also not remember where to apply the resolution for some odd reasons).

Quoted 3 lines

My question is how to I remove the fixup now?

E.g. where can I find it?

In the rerere branch under the fixup/ directory. That's also the place where rerere solutions are carried around. I guess docs don't explain this well how drm-tip is rebuilt :-/
-Daniel

Quoted 18 lines

Thanks,
Christian.

Quoted 13 lines

I'm fixing this now.
-Daniel

Quoted 8 lines

Thanks,
Christian.

Quoted 5 lines

BR,
Jani.

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

Am 12.02.21 um 09:27 schrieb Daniel Vetter:

Quoted 42 lines · Christian König
Quoted 41 lines

Am 11.02.21 um 18:22 schrieb Daniel Vetter:

Quoted 39 lines
Quoted 26 lines · Christian König

Am 11.02.21 um 16:02 schrieb Jani Nikula:

Quoted 14 lines · Christian König
Quoted 7 lines

Hi guys,

I had a conflict this morning in the ttm pool while pushing an important fix to drm-misc-fixes.

I'm not 100% sure if I correctly fixed up drm-tip. How can this be double checked? And how can it be fixed if the merge has gone bad?

I'm afraid there's a problem; bb52cb0dec8d ("drm/ttm: make the pool shrinker lock a mutex") in upstream and drm-misc-fixes creates a silent conflict with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools") in drm-misc-next, causing the latter to use spin_lock/unlock on a mutex.

Quoted 4 lines

But while you hit a conflict, it does look like the conflict breaking the build is silent, AFAICT the spinlock part does not conflict. So a fixup patch in drm-rerere is probably needed until there are some backmerges.

Well exactly that's the issue. I've already had a fixup in drm-rerere for this.

But today I've pushed another fix to drm-misc-fixes which also conflicts with ba051901d10f ("drm/ttm: add a debugfs file for the global page pools").

Quoted 6 lines

I've fixed this up as well and committed the solution. But dim then complained that the original fixup is now not applicable any more (which is true as far as I know).

This somehow went away when I said that dim should assume patch reversal, but I'm not sure if that's the right thing to do.

Nothing, it's all still broken. You need to delete the now unecessary fixup. As a rule, when rebuilding drm-tip failed always try again to confirm that what you've done actually fixed things (since sometimes git can also not remember where to apply the resolution for some odd reasons).

Quoted 6 lines
Quoted 3 lines

My question is how to I remove the fixup now?

E.g. where can I find it?

In the rerere branch under the fixup/ directory. That's also the place where rerere solutions are carried around. I guess docs don't explain this well how drm-tip is rebuilt :-/

Ok found it. drm-tip looks clean now again.

Thanks,
Christian.

Quoted 14 lines

-Daniel

Quoted 13 lines

Thanks,
Christian.

Quoted 10 lines

I'm fixing this now.
-Daniel

Quoted 7 lines

Thanks,
Christian.

Quoted 4 lines

BR,
Jani.

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