From: Likun Gao <Likun.Gao@xxxxxxx> 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 -- 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx