Loading drivers/gpu/drm/nouveau/dispnv50/base507c.c +6 −4 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ #include <nvif/push507c.h> #include <nvif/timer.h> #include <nvhw/class/cl507c.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> Loading Loading @@ -185,10 +187,10 @@ base507c_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) if ((ret = PUSH_WAIT(push, 5))) return ret; PUSH_NVSQ(push, NV507C, 0x0088, asyw->sema.offset, 0x008c, asyw->sema.acquire, 0x0090, asyw->sema.release, 0x0094, asyw->sema.handle); PUSH_MTHD(push, NV507C, SET_SEMAPHORE_CONTROL, asyw->sema.offset, SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, SET_SEMAPHORE_RELEASE, asyw->sema.release, SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); return 0; } Loading drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c +6 −4 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ #include <nvif/clc37e.h> #include <nvif/pushc37b.h> #include <nvhw/class/clc37e.h> static int wndwc37e_csc_clr(struct nv50_wndw *wndw) { Loading Loading @@ -208,10 +210,10 @@ wndwc37e_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) if ((ret = PUSH_WAIT(push, 5))) return ret; PUSH_NVSQ(push, NVC37E, 0x020c, asyw->sema.offset, 0x0210, asyw->sema.acquire, 0x0214, asyw->sema.release, 0x0218, asyw->sema.handle); PUSH_MTHD(push, NVC37E, SET_SEMAPHORE_CONTROL, asyw->sema.offset, SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, SET_SEMAPHORE_RELEASE, asyw->sema.release, SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); return 0; } Loading drivers/gpu/drm/nouveau/include/nvhw/class/clc37e.h 0 → 100644 +394 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
drivers/gpu/drm/nouveau/dispnv50/base507c.c +6 −4 Original line number Diff line number Diff line Loading @@ -26,6 +26,8 @@ #include <nvif/push507c.h> #include <nvif/timer.h> #include <nvhw/class/cl507c.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_plane_helper.h> Loading Loading @@ -185,10 +187,10 @@ base507c_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) if ((ret = PUSH_WAIT(push, 5))) return ret; PUSH_NVSQ(push, NV507C, 0x0088, asyw->sema.offset, 0x008c, asyw->sema.acquire, 0x0090, asyw->sema.release, 0x0094, asyw->sema.handle); PUSH_MTHD(push, NV507C, SET_SEMAPHORE_CONTROL, asyw->sema.offset, SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, SET_SEMAPHORE_RELEASE, asyw->sema.release, SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); return 0; } Loading
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c +6 −4 Original line number Diff line number Diff line Loading @@ -29,6 +29,8 @@ #include <nvif/clc37e.h> #include <nvif/pushc37b.h> #include <nvhw/class/clc37e.h> static int wndwc37e_csc_clr(struct nv50_wndw *wndw) { Loading Loading @@ -208,10 +210,10 @@ wndwc37e_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) if ((ret = PUSH_WAIT(push, 5))) return ret; PUSH_NVSQ(push, NVC37E, 0x020c, asyw->sema.offset, 0x0210, asyw->sema.acquire, 0x0214, asyw->sema.release, 0x0218, asyw->sema.handle); PUSH_MTHD(push, NVC37E, SET_SEMAPHORE_CONTROL, asyw->sema.offset, SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, SET_SEMAPHORE_RELEASE, asyw->sema.release, SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); return 0; } Loading
drivers/gpu/drm/nouveau/include/nvhw/class/clc37e.h 0 → 100644 +394 −0 File added.Preview size limit exceeded, changes collapsed. Show changes