[PATCH v2 0/3] RLC kernel code update to improve resuabillity

Christian König ckoenig.leichtzumerken at gmail.com
Thu Nov 8 14:45:23 UTC 2018


Acked-by: Christian König <christian.koenig at amd.com> to the whole series.

Alex or somebody else with more RLC knowledge than me should probably 
take a look as well, but in general that looks like a really nice 
cleanup to me.

Christian.

Am 08.11.18 um 14:04 schrieb likun Gao:
> From: Likun Gao <Likun.Gao at amd.com>
>
> Hi,
>
> Patches for RLC which is used for improving the resuabillity of
> RLC's code have update, the changes between the old patch are as follow:
> PATCH 1/3: have not changed and it unified RLC's function into the struct
> amdgpu_rlc_funcs and change the method of calling RLC.
> PATCH 2/3 and 3/3: 1.Changed the sequence 2/3 and 3/3, separte the file rlc from
> gfx first, and move the function related to rlc from amdgpu_gfx in the later
> patch. 2.Apply to rlc kernel function doucmentation to the added rlc common
> function.
> Please help to review, thanks.
>
> Regards,
> Likun
>
> Likun Gao (3):
>    drm/amdgpu: unify rlc function into structure
>    drm/amdgpu: separate amdgpu_rlc into a single file
>    drm/amdgpu: abstract the function of enter/exit safe mode for RLC
>
>   drivers/gpu/drm/amd/amdgpu/Makefile                |   1 +
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c            |   1 +
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h            |  54 +---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c            | 282 +++++++++++++++++++++
>   drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h            |  98 +++++++
>   drivers/gpu/drm/amd/amdgpu/ci_dpm.c                |   6 +-
>   drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c              |  56 ++--
>   drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c              | 176 +++----------
>   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              | 230 ++++++-----------
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              | 215 ++++------------
>   drivers/gpu/drm/amd/amdgpu/kv_dpm.c                |   6 +-
>   .../gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c   |  12 +-
>   .../gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c |  36 +--
>   13 files changed, 599 insertions(+), 574 deletions(-)
>   create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
>   create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
>



More information about the amd-gfx mailing list