[PATCH 0/2] isolate FPU code from dcn10 and dcn21 to dml folder
Melissa Wen
mwen at igalia.com
Mon Feb 28 21:10:45 UTC 2022
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
More information about the dri-devel
mailing list