drm/amd/display: Refactor DSC into component folder
authorBhuvana Chandra Pinninti <bhuvanachandra.pinninti@amd.com>
Wed, 18 Oct 2023 13:46:17 +0000 (19:16 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:48:59 +0000 (16:48 -0500)
commit6c22fb07e0c2935d97a86509f16f755ab895f2c8
treeb3108c54961ef4188e8dfe35222b31b4eafc1ccf
parent40436ce7ccfec5c616e2e48d0ec2c905637c7397
drm/amd/display: Refactor DSC into component folder

[why]

To refactor DSC and make DSC files unit testable.

[how]

moved the dcnxx_dsc.c and .h files
into corresponding dcn folders inside
the dsc and cleared the linkage errors.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Bhuvana Chandra Pinninti <bhuvanachandra.pinninti@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
14 files changed:
drivers/gpu/drm/amd/display/Makefile
drivers/gpu/drm/amd/display/dc/dcn20/Makefile
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c [deleted file]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.h [deleted file]
drivers/gpu/drm/amd/display/dc/dcn35/Makefile
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dsc.c [deleted file]
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dsc.h [deleted file]
drivers/gpu/drm/amd/display/dc/dsc/Makefile
drivers/gpu/drm/amd/display/dc/dsc/dcn20/dcn20_dsc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dsc/dcn20/dcn20_dsc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dsc/dcn35/dcn35_dsc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dsc/dcn35/dcn35_dsc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dsc/dsc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h [deleted file]