[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220228211047.3957945-1-mwen@igalia.com>
Date: Mon, 28 Feb 2022 20:10:45 -0100
From: Melissa Wen <mwen@...lia.com>
To: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
airlied@...ux.ie, alexander.deucher@....com,
christian.koenig@....com, daniel@...ll.ch, harry.wentland@....com,
Rodrigo.Siqueira@....com, sunpeng.li@....com, Xinhui.Pan@....com
Cc: Dmytro Laktyushkin <Dmytro.Laktyushkin@....com>,
Jasdeep Dhillon <jdhillon@....com>,
Qingqing Zhuo <qingqing.zhuo@....com>,
Melissa Wen <mwen@...lia.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] isolate FPU code from dcn10 and dcn21 to dml folder
Continuing the work of isolating FPU code from DCN drivers, this
patchset moves FPU-specific operations from dcn10 and dcn21 to dml
folder. I move FPU code from dcn21 to dml/dcn20_fpu since there is a
documentation in dcn20_fpu.c that states dcn20_fpu centralizes:
`all DCN20 and DCN2.1 (DCN2x) functions that require FPU access`
Also, there isn't a dcn10_fpu in dml/dcn10 folder, therefore, I create
related files to isolate FPU structs there.
This patchset depends on previous patch to isolate FPU code from dcn20
driver: https://patchwork.freedesktop.org/series/100487/
Melissa Wen (2):
drm/amd/display: move FPU operations from dcn21 to dml/dcn20 folder
drm/amd/display: move FPU code from dcn10 to dml/dcn10 folder
.../drm/amd/display/dc/dcn10/dcn10_resource.c | 62 --
.../drm/amd/display/dc/dcn10/dcn10_resource.h | 4 +
drivers/gpu/drm/amd/display/dc/dcn21/Makefile | 25 -
.../drm/amd/display/dc/dcn21/dcn21_resource.c | 566 +-----------------
.../drm/amd/display/dc/dcn21/dcn21_resource.h | 11 +
drivers/gpu/drm/amd/display/dc/dml/Makefile | 2 +
.../drm/amd/display/dc/dml/dcn10/dcn10_fpu.c | 124 ++++
.../drm/amd/display/dc/dml/dcn10/dcn10_fpu.h | 30 +
.../drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 538 ++++++++++++++++-
.../drm/amd/display/dc/dml/dcn20/dcn20_fpu.h | 9 +
10 files changed, 731 insertions(+), 640 deletions(-)
create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn10/dcn10_fpu.c
create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn10/dcn10_fpu.h
--
2.34.1
Powered by blists - more mailing lists