Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-12-01 Thread Christian König
e GC_BASE0. Regards Shaoyun.liu -Original Message- From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] Sent: Thursday, November 30, 2017 3:42 AM To: Liu, Shaoyun; Koenig, Christian; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in

RE: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-30 Thread Liu, Shaoyun
EG_OFFSET used in >> amdgpu_gds_reg_offset[] >> >> Regards >> Shaoyun.liu >> >> -Original Message----- >> From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] >> Sent: Wednesday, November 29, 2017 3:08 PM &g

Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-30 Thread Christian König
.liu -Original Message- From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] Sent: Thursday, November 30, 2017 3:42 AM To: Liu, Shaoyun; Koenig, Christian; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array I would ra

RE: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-30 Thread Liu, Shaoyun
[mailto:ckoenig.leichtzumer...@gmail.com] Sent: Thursday, November 30, 2017 3:42 AM To: Liu, Shaoyun; Koenig, Christian; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array I would rather go with something like this: #define SOC15_REG_GOLDEN_VALUE(ip

Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-30 Thread Christian König
: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array Am 29.11.2017 um 20:09 schrieb Shaoyun Liu: Change-Id: I59828a9a10652988e22b50d87dd1ec9df8ae7a1d Signed-off-by: Shaoyun Liu <shaoyun@amd.com> --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

RE: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-29 Thread Liu, Shaoyun
: Avoid to use SOC15_REG_OFFSET in static const array Am 29.11.2017 um 20:09 schrieb Shaoyun Liu: > Change-Id: I59828a9a10652988e22b50d87dd1ec9df8ae7a1d > Signed-off-by: Shaoyun Liu <shaoyun@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/gf

Re: [PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-29 Thread Christian König
Am 29.11.2017 um 20:09 schrieb Shaoyun Liu: Change-Id: I59828a9a10652988e22b50d87dd1ec9df8ae7a1d Signed-off-by: Shaoyun Liu --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 259 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 14 +-

[PATCH 3/5] drm/amdgpu: Avoid to use SOC15_REG_OFFSET in static const array

2017-11-29 Thread Shaoyun Liu
Change-Id: I59828a9a10652988e22b50d87dd1ec9df8ae7a1d Signed-off-by: Shaoyun Liu --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 259 +++--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c| 13 +-