All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom St Denis <tom.stdenis-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 1/3] drm/amdgpu: Add SOC15 IP offset define file
Date: Mon, 27 Nov 2017 17:30:42 -0500	[thread overview]
Message-ID: <fefe3e0b-91d8-39dc-2d34-9a795cf61274@amd.com> (raw)
In-Reply-To: <cca23fad-52d4-8c49-d2b1-e7ed1bde7b39-5C7GfCeVMHo@public.gmane.org>

On 27/11/17 04:28 PM, Christian König wrote:
> Am 27.11.2017 um 21:56 schrieb Alex Deucher:
>> On Mon, Nov 27, 2017 at 3:44 PM, Christian König
>> <christian.koenig@amd.com> wrote:
>>> Am 27.11.2017 um 21:01 schrieb Felix Kuehling:
>>>> On 2017-11-27 02:37 PM, Koenig, Christian wrote:
>>>>> And that is a clear NAK to this approach.
>>>> Hi Christian,
>>>>
>>>> Do you have other objections than the style issues? If so, please 
>>>> explain.
>>>
>>> No, the technical aspect actually looks rather reasonable.
>>>
>>>> Please clarify, why this file needs to be treated differently from 
>>>> other
>>>> files under include/asic_reg? All those files are auto-generated by HW
>>>> teams. Fixing the coding style adds no value and makes future updates
>>>> more complicated.
>>>
>>> We already got complains about that and most likely will need to fix the
>>> rest as well.
>> I'd like to stay as close as possible to the headers formats we are
>> using internally across teams for consistency.
> 
> To be honest I strongly disagree on that. The bad quality of the 
> internal AMD headers is the reason we had to basically have the VMHUB 
> code for Vega10 twice for example.

At the very least the globals we use per ip block should be version 
specific.  That way if you cscope/ctags around you can find the actual 
references and not collisions.

Tom
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-11-27 22:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 19:37 [PATCH 1/3] drm/amdgpu: Add SOC15 IP offset define file Koenig, Christian
     [not found] ` <2a0a3687-0207-4ea0-bb2c-20750a1d2bb3-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2017-11-27 20:01   ` Felix Kuehling
     [not found]     ` <702bfce6-78ef-0284-6306-f4b3366d34f7-5C7GfCeVMHo@public.gmane.org>
2017-11-27 20:44       ` Christian König
     [not found]         ` <ec783d5b-74a5-07e8-6bb4-5c930e56a718-5C7GfCeVMHo@public.gmane.org>
2017-11-27 20:56           ` Alex Deucher
     [not found]             ` <CADnq5_M55-qJEwfVGvkxpajePPxK1fePzG57ZTjCLVBQuddf6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-27 21:24               ` Liu, Shaoyun
2017-11-27 21:28               ` Christian König
     [not found]                 ` <cca23fad-52d4-8c49-d2b1-e7ed1bde7b39-5C7GfCeVMHo@public.gmane.org>
2017-11-27 22:30                   ` Tom St Denis [this message]
     [not found]                     ` <fefe3e0b-91d8-39dc-2d34-9a795cf61274-5C7GfCeVMHo@public.gmane.org>
2017-11-28  9:40                       ` Christian König
2017-11-27 22:40                   ` Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2017-11-27 18:30 Shaoyun Liu
     [not found] ` <1511807458-27102-1-git-send-email-Shaoyun.Liu-5C7GfCeVMHo@public.gmane.org>
2017-11-27 18:54   ` Tom St Denis
     [not found]     ` <a831909b-4381-1a63-fba3-0eb816fa5e61-5C7GfCeVMHo@public.gmane.org>
2017-11-27 19:04       ` Liu, Shaoyun
2017-11-27 19:17   ` Christian König
     [not found]     ` <2db922e4-fe49-7499-38f1-a3b2c8e07cf5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-27 19:29       ` Liu, Shaoyun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fefe3e0b-91d8-39dc-2d34-9a795cf61274@amd.com \
    --to=tom.stdenis-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.