Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Apr 3, 2023 – Apr 4, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release':
drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
53 | mgr->elapsed_ns[i] += entity->elapsed_ns;
| ^~
drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage':
drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
125 | usage[i] += entity->elapsed_ns;
| ^~

Caused by commit

bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr")

interacting with commit

baad10973fdb ("Revert "drm/scheduler: track GPU active time per entity"")

from Linus' tree.

I can't see any obvious way to fix this up, so I have used teh drm-misc tree from next-20230331 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

I think you can just revert the following three lima commits when merge:
* 4a66f3da99dc ("drm/lima: add show_fdinfo for drm usage stats")
* 87767de835ed ("drm/lima: allocate unique id per drm_file")
* bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr")

Regards,
Qiang

Quoted 31 lines · Stephen Rothwell

Hi all,

After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release':
drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
53 | mgr->elapsed_ns[i] += entity->elapsed_ns;
| ^~
drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage':
drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
125 | usage[i] += entity->elapsed_ns;
| ^~

Caused by commit

bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr")

interacting with commit

baad10973fdb ("Revert "drm/scheduler: track GPU active time per entity"")

from Linus' tree.

I can't see any obvious way to fix this up, so I have used teh drm-misc tree from next-20230331 for today.

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi Qiang,

Quoted 5 lines · On Mon, 3 Apr 2023 16:51:27 +0800 Qiang Yu <[email protected]> wrote:

I think you can just revert the following three lima commits when merge:
* 4a66f3da99dc ("drm/lima: add show_fdinfo for drm usage stats")
* 87767de835ed ("drm/lima: allocate unique id per drm_file")
* bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr")

OK, I have done that from today.

Signature · 2 lines
Cheers,
Stephen Rothwell