Commit 3cecedc2 authored by Guido Gunther's avatar Guido Gunther

etnaviv: Use kms fd to hash lookup the pipe screen

of gpu_fd and kms_fd but since we only have a single GPU
that will do atm.
Signed-off-by: Guido Gunther's avatarGuido Günther <agx@sigxcpu.org>
parent 7318d575
Pipeline #58771 failed with stages
......@@ -104,7 +104,7 @@ etna_drm_screen_create_renderonly(struct renderonly *ro)
goto unlock;
}
pscreen = util_hash_table_get(etna_tab, intptr_to_pointer(ro->gpu_fd));
pscreen = util_hash_table_get(etna_tab, intptr_to_pointer(ro->kms_fd));
if (pscreen) {
etna_screen(pscreen)->refcnt++;
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment