[Mesa-dev] [PATCH v3 0/6] Use drmDevice2 API, take ... final

Mike Lothian mike at fireburn.co.uk
Fri Mar 10 13:35:37 UTC 2017


Does this mean my dGPU will stop being woken up when I play videos or open
Chromium?

On Fri, 10 Mar 2017 at 12:32 Emil Velikov <emil.l.velikov at gmail.com> wrote:

> Hi all,
>
> Here is hopefully the final round of using drmDevice2.
>
> As a brief reminder - probing devices via drmDevice or directly opening
> the device node wakes up the device, even if we're not planning to use
> it.
>
> The wakeup in itself, can be very slow in some cases.
>
> Note: you _will_ need to update libdrm to 2.4.75
>
> -Emil
>
> Emil Velikov (6):
>   autoconf/scons: bump libdrm to 2.4.75
>   loader: use drmGetDevice[s]2 API
>   winsys/amdgpu: use drmGetDevice2 API
>   radv/winsys: use drmGetDevice2 API
>   radv: do not open random render node(s)
>   anv: do not open random render node(s)
>
>  configure.ac                                      |  4 +-
>  scons/gallium.py                                  |  2 +-
>  src/amd/vulkan/radv_device.c                      | 48
> +++++++++++++++-----
>  src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c |  4 +-
>  src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c     |  4 +-
>  src/intel/vulkan/Makefile.am                      |  1 +
>  src/intel/vulkan/anv_device.c                     | 53
> ++++++++++++++++-------
>  src/loader/loader.c                               |  6 +--
>  8 files changed, 85 insertions(+), 37 deletions(-)
>
> --
> 2.11.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170310/b1834a99/attachment.html>


More information about the mesa-dev mailing list