Skip to contentSkip to conversation

The TTM LRU-walk cherry-pick series

DISCUSSION Thomas Hellström 3 participants 6 messages Jul 7, 2024 – Jul 9, 2024

lore
Share & tools
lore
#0 lore raw

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas

#1 lore raw
Quoted 8 lines · Thomas Hellström

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

I found a couple of nits in last patch of [1] but gave an RB as the nits can be fixed on upon merge.

The series [1] is fully RB'd and CI looks good. I'm thinking we should merge this. If any bugs pop after merging feel confident that I can quickly fix them while Thomas is out. Also fine for waiting for Thomas to return too.

What do you think Christian?

Matt

[1] https://patchwork.freedesktop.org/series/135801/

Quoted 8 lines

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas

#2 lore raw

Am 08.07.24 um 17:23 schrieb Matthew Brost:

Quoted 12 lines · Thomas Hellström
Quoted 8 lines

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

I found a couple of nits in last patch of [1] but gave an RB as the nits can be fixed on upon merge.

Quoted 6 lines

The series [1] is fully RB'd and CI looks good. I'm thinking we should merge this. If any bugs pop after merging feel confident that I can quickly fix them while Thomas is out. Also fine for waiting for Thomas to return too.

What do you think Christian?

I'm currently working on testing patches 1-7 and if that doesn't show any immediate problems will push them to drm-misc-next.

The kernel build bot also complained about something in #8 additionally to your nit picks so I think we should investigate that first.

Christian.

Quoted 13 lines

Matt

[1] https://patchwork.freedesktop.org/series/135801/

Quoted 8 lines

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas

#3 lore raw
Quoted 18 lines · Christian König

Am 08.07.24 um 17:23 schrieb Matthew Brost:

Quoted 17 lines · Thomas Hellström
Quoted 8 lines

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

I found a couple of nits in last patch of [1] but gave an RB as the nits can be fixed on upon merge.

The series [1] is fully RB'd and CI looks good. I'm thinking we should merge this. If any bugs pop after merging feel confident that I can quickly fix them while Thomas is out. Also fine for waiting for Thomas to return too.

Quoted 5 lines
Quoted 1 line

What do you think Christian?

I'm currently working on testing patches 1-7 and if that doesn't show any immediate problems will push them to drm-misc-next.

+1

Quoted 5 lines

The kernel build bot also complained about something in #8 additionally to your nit picks so I think we should investigate that first.

Quoted 1 line

drivers/gpu/drm/ttm/ttm_resource.c:607: warning: Excess function parameter 'man' description in 'ttm_resource_manager_first'

That is the kernel doc nit I raised.

Matt

Quoted 16 lines

Christian.

Quoted 13 lines

Matt

[1] https://patchwork.freedesktop.org/series/135801/

Quoted 8 lines

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas

#4 lore raw

Am 08.07.24 um 17:34 schrieb Matthew Brost:

Quoted 19 lines · Christian König
Quoted 18 lines

Am 08.07.24 um 17:23 schrieb Matthew Brost:

Quoted 17 lines · Thomas Hellström
Quoted 8 lines

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

I found a couple of nits in last patch of [1] but gave an RB as the nits can be fixed on upon merge.

The series [1] is fully RB'd and CI looks good. I'm thinking we should merge this. If any bugs pop after merging feel confident that I can quickly fix them while Thomas is out. Also fine for waiting for Thomas to return too.

Quoted 5 lines
Quoted 4 lines
Quoted 1 line

What do you think Christian?

I'm currently working on testing patches 1-7 and if that doesn't show any immediate problems will push them to drm-misc-next.

+1

And pushed.

Quoted 6 lines
Quoted 5 lines

The kernel build bot also complained about something in #8 additionally to your nit picks so I think we should investigate that first.

Quoted 1 line

drivers/gpu/drm/ttm/ttm_resource.c:607: warning: Excess function parameter 'man' description in 'ttm_resource_manager_first'

That is the kernel doc nit I raised.

Ah, yeah ok. For that minor cleanup we can wait for Thomas to be back from vacation.

Important point is I can now rebase my drm_exec work on top of it.

Regards,
Christian.

Quoted 17 lines

Matt

Quoted 14 lines

Christian.

Quoted 12 lines

Matt

[1] https://patchwork.freedesktop.org/series/135801/

Quoted 8 lines

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas

#5 lore raw
Quoted 20 lines · Christian König

Am 08.07.24 um 17:34 schrieb Matthew Brost:

Quoted 19 lines · Christian König
Quoted 18 lines

Am 08.07.24 um 17:23 schrieb Matthew Brost:

Quoted 17 lines · Thomas Hellström
Quoted 8 lines

Christian, Matthew,

I think I addressed all review comments and a couple of anticipated ones (s/long/s64/) in the swapout- and eviction patches.

I'm heading off on vacation today, (4 weeks) so if something becomes urgent in-between feel free to pick up, modify and merge.

I found a couple of nits in last patch of [1] but gave an RB as the nits can be fixed on upon merge.

The series [1] is fully RB'd and CI looks good. I'm thinking we should merge this. If any bugs pop after merging feel confident that I can quickly fix them while Thomas is out. Also fine for waiting for Thomas to return too.

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line

What do you think Christian?

I'm currently working on testing patches 1-7 and if that doesn't show any immediate problems will push them to drm-misc-next.

+1

And pushed.

Great.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

The kernel build bot also complained about something in #8 additionally to your nit picks so I think we should investigate that first.

Quoted 8 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line

drivers/gpu/drm/ttm/ttm_resource.c:607: warning: Excess function parameter 'man' description in 'ttm_resource_manager_first'

That is the kernel doc nit I raised.

Ah, yeah ok. For that minor cleanup we can wait for Thomas to be back from vacation.

Important point is I can now rebase my drm_exec work on top of it.

Sounds good. Will keep an eye out for drm_exec changes.

Matt

Quoted 21 lines

Regards,
Christian.

Quoted 17 lines

Matt

Quoted 14 lines

Christian.

Quoted 12 lines

Matt

[1] https://patchwork.freedesktop.org/series/135801/

Quoted 8 lines

Regarding the drm_exec trylock functionality I'm for as much as possible that it should look like any other locking primitive trylock. i.e. no additional tricks needed.

Thanks,
Thomas