[Mesa-dev] [PATCH 1/6] gallium/radeon: change the vendor string to Advanced Micro Devices, Inc.

Alex Deucher alexdeucher at gmail.com
Mon Aug 8 15:05:39 UTC 2016


On Sat, Aug 6, 2016 at 2:04 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>

If we want to display the marking names for each asic, we could add
the marketing name api from libdrm_amdgpu that the closed driver uses.
It would also reduce the delta between open and pro.

Alex

>
> ---
>  src/gallium/drivers/radeon/r600_pipe_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c
> index 1c56e6e..8a9ab94 100644
> --- a/src/gallium/drivers/radeon/r600_pipe_common.c
> +++ b/src/gallium/drivers/radeon/r600_pipe_common.c
> @@ -598,21 +598,21 @@ static const struct debug_named_value common_debug_options[] = {
>         { "mono", DBG_MONOLITHIC_SHADERS, "Use old-style monolithic shaders compiled on demand" },
>         { "noce", DBG_NO_CE, "Disable the constant engine"},
>         { "unsafemath", DBG_UNSAFE_MATH, "Enable unsafe math shader optimizations" },
>         { "nodccfb", DBG_NO_DCC_FB, "Disable separate DCC on the main framebuffer" },
>
>         DEBUG_NAMED_VALUE_END /* must be last */
>  };
>
>  static const char* r600_get_vendor(struct pipe_screen* pscreen)
>  {
> -       return "X.Org";
> +       return "Advanced Micro Devices, Inc.";
>  }
>
>  static const char* r600_get_device_vendor(struct pipe_screen* pscreen)
>  {
>         return "AMD";
>  }
>
>  static const char* r600_get_chip_name(struct r600_common_screen *rscreen)
>  {
>         switch (rscreen->info.family) {
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list