[Mesa-dev] [PATCH 2/3] freedreno: context priority support

Rob Clark robdclark at gmail.com
Tue Oct 24 19:48:39 UTC 2017


On Tue, Oct 24, 2017 at 3:34 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 24 October 2017 at 19:48, Rob Clark <robdclark at gmail.com> wrote:
>> For devices (and kernels) which support different priority ringbuffers,
>> expose context priority support.
>>
>> Signed-off-by: Rob Clark <robdclark at gmail.com>
>> ---
>>  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


More information about the mesa-dev mailing list