Home
last modified time | relevance | path

Searched hist:"1264 f8325e9b8c004f36f1ae7bacd2a46a7ed771" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs507a.cdiff 1264f8325e9b8c004f36f1ae7bacd2a46a7ed771 Mon Jun 18 03:06:13 CDT 2018 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/kms/nv50-: cursors always use core channel vram ctxdma

Ctxdmas for cursors from all heads are setup in the core channel, and due
to us tracking allocated handles per-window, we were failing with -EEXIST
on multiple-head setups trying to allocate duplicate handles.

The cursor code is hardcoded to use the core channel vram ctxdma already,
so just skip ctxdma allocation for cursor fbs to fix the issue.

Fixes: 5bca1621c07 ("drm/nouveau/kms/nv50-: move fb ctxdma tracking into windows")
Reported-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
H A Dwndw.cdiff 1264f8325e9b8c004f36f1ae7bacd2a46a7ed771 Mon Jun 18 03:06:13 CDT 2018 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/kms/nv50-: cursors always use core channel vram ctxdma

Ctxdmas for cursors from all heads are setup in the core channel, and due
to us tracking allocated handles per-window, we were failing with -EEXIST
on multiple-head setups trying to allocate duplicate handles.

The cursor code is hardcoded to use the core channel vram ctxdma already,
so just skip ctxdma allocation for cursor fbs to fix the issue.

Fixes: 5bca1621c07 ("drm/nouveau/kms/nv50-: move fb ctxdma tracking into windows")
Reported-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>