[Mesa-dev] [PATCH] ac: add radeon_info::is_amdgpu instead of checking drm_major == 3

Marek Olšák maraeo at gmail.com
Thu Jun 13 18:03:30 UTC 2019


It's only a random cleanup.

Marek

On Thu, Jun 13, 2019 at 2:57 AM Samuel Pitoiset <samuel.pitoiset at gmail.com>
wrote:

> Why do you need that?
>
> On 6/12/19 11:31 PM, Marek Olšák wrote:
> > From: Marek Olšák <marek.olsak at amd.com>
> >
> > and clean up
> > ---
> >   src/amd/common/ac_gpu_info.c                  | 13 ++++--
> >   src/amd/common/ac_gpu_info.h                  |  1 +
> >   src/amd/vulkan/radv_debug.c                   |  5 +-
> >   src/gallium/drivers/r600/r600_buffer_common.c |  6 +--
> >   src/gallium/drivers/r600/r600_pipe.c          |  2 +-
> >   src/gallium/drivers/r600/r600_pipe_common.c   | 46 ++-----------------
> >   src/gallium/drivers/r600/r600_query.c         |  2 +-
> >   src/gallium/drivers/r600/r600_texture.c       |  2 +-
> >   src/gallium/drivers/r600/radeon_uvd.c         |  3 +-
> >   src/gallium/drivers/r600/radeon_vce.c         |  5 +-
> >   src/gallium/drivers/radeon/radeon_uvd.c       |  2 +-
> >   src/gallium/drivers/radeon/radeon_vce.c       |  6 +--
> >   src/gallium/drivers/radeonsi/si_buffer.c      |  2 +-
> >   src/gallium/drivers/radeonsi/si_debug.c       |  2 +-
> >   src/gallium/drivers/radeonsi/si_get.c         |  4 +-
> >   src/gallium/drivers/radeonsi/si_pipe.c        |  4 +-
> >   src/gallium/drivers/radeonsi/si_query.c       |  2 +-
> >   src/gallium/drivers/radeonsi/si_state.c       |  2 +-
> >   .../winsys/radeon/drm/radeon_drm_winsys.c     |  1 +
> >   19 files changed, 33 insertions(+), 77 deletions(-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190613/8a5e5749/attachment.html>


More information about the mesa-dev mailing list