On Tue, Oct 24, 2017 at 3:34 PM, Emil Velikov <[email protected]> wrote: > On 24 October 2017 at 19:48, Rob Clark <[email protected]> wrote: >> For devices (and kernels) which support different priority ringbuffers, >> expose context priority support. >> >> Signed-off-by: Rob Clark <[email protected]> >> --- >> src/gallium/drivers/freedreno/freedreno_context.c | 9 ++++++++- >> src/gallium/drivers/freedreno/freedreno_screen.c | 12 +++++++++++- >> src/gallium/drivers/freedreno/freedreno_screen.h | 1 + >> 3 files changed, 20 insertions(+), 2 deletions(-) >> > >> ctx->screen = screen; >> - ctx->pipe = fd_pipe_new(screen->dev, FD_PIPE_3D); >> + ctx->pipe = fd_pipe_new2(screen->dev, FD_PIPE_3D, prio); >> > Would imagine you want to get the libdrm_freedreno bits out and bump > the required version in configure/meson. > Right? Did the kernel bits already land? >
Right, sorry, I should have mentioned the freedreno part of this isn't ready to push, but I'm posting these patches to go along with kernel patches that I'm lining up for 4.15. fwiw, the libdrm bits are here: https://github.com/freedreno/libdrm/commits/context-priority The final version would need configure and meson version bumps to a libdrm version from the future ;-) BR, -R _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
