From: Alex Deucher <alexdeucher@gmail.com>
To: Jason Yan <yanaijie@huawei.com>
Cc: "Deucher, Alexander" <alexander.deucher@amd.com>,
Christian Koenig <christian.koenig@amd.com>,
Chunming Zhou <David1.Zhou@amd.com>,
Dave Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
amd-gfx list <amd-gfx@lists.freedesktop.org>,
Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>,
Hulk Robot <hulkci@huawei.com>
Subject: Re: [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le'
Date: Mon, 13 Apr 2020 11:16:33 -0400 [thread overview]
Message-ID: <CADnq5_P42xtD-kL6A_eZ4s_vRVTqmsCnuFmQSA_8f+7bZTfcgg@mail.gmail.com> (raw)
In-Reply-To: <20200413143245.23107-1-yanaijie@huawei.com>
Applied. thanks!
Alex
On Mon, Apr 13, 2020 at 10:06 AM Jason Yan <yanaijie@huawei.com> wrote:
>
> Fix the following gcc warning:
>
> drivers/gpu/drm/radeon/si_dpm.c:255:33: warning: ‘dte_data_tahiti_le’
> defined but not used [-Wunused-const-variable=]
> static const struct si_dte_data dte_data_tahiti_le =
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> ---
> drivers/gpu/drm/radeon/si_dpm.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
> index 2cb85dbe728f..a167e1c36d24 100644
> --- a/drivers/gpu/drm/radeon/si_dpm.c
> +++ b/drivers/gpu/drm/radeon/si_dpm.c
> @@ -252,24 +252,6 @@ static const struct si_dte_data dte_data_tahiti =
> false
> };
>
> -static const struct si_dte_data dte_data_tahiti_le =
> -{
> - { 0x1E8480, 0x7A1200, 0x2160EC0, 0x3938700, 0 },
> - { 0x7D, 0x7D, 0x4E4, 0xB00, 0 },
> - 0x5,
> - 0xAFC8,
> - 0x64,
> - 0x32,
> - 1,
> - 0,
> - 0x10,
> - { 0x78, 0x7C, 0x82, 0x88, 0x8E, 0x94, 0x9A, 0xA0, 0xA6, 0xAC, 0xB0, 0xB4, 0xB8, 0xBC, 0xC0, 0xC4 },
> - { 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700 },
> - { 0x2AF8, 0x2AF8, 0x29BB, 0x27F9, 0x2637, 0x2475, 0x22B3, 0x20F1, 0x1F2F, 0x1D6D, 0x1734, 0x1414, 0x10F4, 0xDD4, 0xAB4, 0x794 },
> - 85,
> - true
> -};
> -
> static const struct si_dte_data dte_data_tahiti_pro =
> {
> { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
> --
> 2.21.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Alex Deucher <alexdeucher@gmail.com>
To: Jason Yan <yanaijie@huawei.com>
Cc: Dave Airlie <airlied@linux.ie>,
LKML <linux-kernel@vger.kernel.org>,
amd-gfx list <amd-gfx@lists.freedesktop.org>,
Hulk Robot <hulkci@huawei.com>,
Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
"Deucher, Alexander" <alexander.deucher@amd.com>,
Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le'
Date: Mon, 13 Apr 2020 11:16:33 -0400 [thread overview]
Message-ID: <CADnq5_P42xtD-kL6A_eZ4s_vRVTqmsCnuFmQSA_8f+7bZTfcgg@mail.gmail.com> (raw)
In-Reply-To: <20200413143245.23107-1-yanaijie@huawei.com>
Applied. thanks!
Alex
On Mon, Apr 13, 2020 at 10:06 AM Jason Yan <yanaijie@huawei.com> wrote:
>
> Fix the following gcc warning:
>
> drivers/gpu/drm/radeon/si_dpm.c:255:33: warning: ‘dte_data_tahiti_le’
> defined but not used [-Wunused-const-variable=]
> static const struct si_dte_data dte_data_tahiti_le =
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> ---
> drivers/gpu/drm/radeon/si_dpm.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
> index 2cb85dbe728f..a167e1c36d24 100644
> --- a/drivers/gpu/drm/radeon/si_dpm.c
> +++ b/drivers/gpu/drm/radeon/si_dpm.c
> @@ -252,24 +252,6 @@ static const struct si_dte_data dte_data_tahiti =
> false
> };
>
> -static const struct si_dte_data dte_data_tahiti_le =
> -{
> - { 0x1E8480, 0x7A1200, 0x2160EC0, 0x3938700, 0 },
> - { 0x7D, 0x7D, 0x4E4, 0xB00, 0 },
> - 0x5,
> - 0xAFC8,
> - 0x64,
> - 0x32,
> - 1,
> - 0,
> - 0x10,
> - { 0x78, 0x7C, 0x82, 0x88, 0x8E, 0x94, 0x9A, 0xA0, 0xA6, 0xAC, 0xB0, 0xB4, 0xB8, 0xBC, 0xC0, 0xC4 },
> - { 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700 },
> - { 0x2AF8, 0x2AF8, 0x29BB, 0x27F9, 0x2637, 0x2475, 0x22B3, 0x20F1, 0x1F2F, 0x1D6D, 0x1734, 0x1414, 0x10F4, 0xDD4, 0xAB4, 0x794 },
> - 85,
> - true
> -};
> -
> static const struct si_dte_data dte_data_tahiti_pro =
> {
> { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
> --
> 2.21.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Alex Deucher <alexdeucher@gmail.com>
To: Jason Yan <yanaijie@huawei.com>
Cc: Chunming Zhou <David1.Zhou@amd.com>,
Dave Airlie <airlied@linux.ie>,
LKML <linux-kernel@vger.kernel.org>,
amd-gfx list <amd-gfx@lists.freedesktop.org>,
Hulk Robot <hulkci@huawei.com>,
Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
Daniel Vetter <daniel@ffwll.ch>,
"Deucher, Alexander" <alexander.deucher@amd.com>,
Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le'
Date: Mon, 13 Apr 2020 11:16:33 -0400 [thread overview]
Message-ID: <CADnq5_P42xtD-kL6A_eZ4s_vRVTqmsCnuFmQSA_8f+7bZTfcgg@mail.gmail.com> (raw)
In-Reply-To: <20200413143245.23107-1-yanaijie@huawei.com>
Applied. thanks!
Alex
On Mon, Apr 13, 2020 at 10:06 AM Jason Yan <yanaijie@huawei.com> wrote:
>
> Fix the following gcc warning:
>
> drivers/gpu/drm/radeon/si_dpm.c:255:33: warning: ‘dte_data_tahiti_le’
> defined but not used [-Wunused-const-variable=]
> static const struct si_dte_data dte_data_tahiti_le =
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> ---
> drivers/gpu/drm/radeon/si_dpm.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
> index 2cb85dbe728f..a167e1c36d24 100644
> --- a/drivers/gpu/drm/radeon/si_dpm.c
> +++ b/drivers/gpu/drm/radeon/si_dpm.c
> @@ -252,24 +252,6 @@ static const struct si_dte_data dte_data_tahiti =
> false
> };
>
> -static const struct si_dte_data dte_data_tahiti_le =
> -{
> - { 0x1E8480, 0x7A1200, 0x2160EC0, 0x3938700, 0 },
> - { 0x7D, 0x7D, 0x4E4, 0xB00, 0 },
> - 0x5,
> - 0xAFC8,
> - 0x64,
> - 0x32,
> - 1,
> - 0,
> - 0x10,
> - { 0x78, 0x7C, 0x82, 0x88, 0x8E, 0x94, 0x9A, 0xA0, 0xA6, 0xAC, 0xB0, 0xB4, 0xB8, 0xBC, 0xC0, 0xC4 },
> - { 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700, 0x3938700 },
> - { 0x2AF8, 0x2AF8, 0x29BB, 0x27F9, 0x2637, 0x2475, 0x22B3, 0x20F1, 0x1F2F, 0x1D6D, 0x1734, 0x1414, 0x10F4, 0xDD4, 0xAB4, 0x794 },
> - 85,
> - true
> -};
> -
> static const struct si_dte_data dte_data_tahiti_pro =
> {
> { 0x1E8480, 0x3D0900, 0x989680, 0x2625A00, 0x0 },
> --
> 2.21.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2020-04-13 15:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 14:32 [PATCH] drm/radeon: remove defined but not used 'dte_data_tahiti_le' Jason Yan
2020-04-13 14:32 ` Jason Yan
2020-04-13 14:32 ` Jason Yan
2020-04-13 15:16 ` Alex Deucher [this message]
2020-04-13 15:16 ` Alex Deucher
2020-04-13 15:16 ` Alex Deucher
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=CADnq5_P42xtD-kL6A_eZ4s_vRVTqmsCnuFmQSA_8f+7bZTfcgg@mail.gmail.com \
--to=alexdeucher@gmail.com \
--cc=David1.Zhou@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=hulkci@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yanaijie@huawei.com \
/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.