Skip to content

Commit

Permalink
drm/amd/display: Refactoring DWB related files from dcn30 Files
Browse files Browse the repository at this point in the history
[Why]
To refactor DWB related files from dcn30 Files

[How]
Moved DWB related files from dcn30 to specific DWB folder and
updated Makefiles to fix Compilation.

Reviewed-by: Martin Leung <martin.leung@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Mudimela <lmudimel@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Mudimela authored and Alex Deucher committed Jul 23, 2024
1 parent 323b19f commit b8d3782
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/amd/display/dc/dcn30/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

DCN30 := dcn30_vpg.o \
dcn30_afmt.o \
dcn30_dwb.o \
dcn30_dwb_cm.o \
dcn30_cm_common.o \
dcn30_mmhubbub.o \

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "reg_helper.h"
#include "dcn30/dcn30_dpp.h"
#include "basics/conversion.h"
#include "dcn30_cm_common.h"
#include "dcn30/dcn30_cm_common.h"
#include "custom_float.h"

#define REG(reg) reg
Expand Down
9 changes: 9 additions & 0 deletions drivers/gpu/drm/amd/display/dc/dwb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
#

ifdef CONFIG_DRM_AMD_DC_FP
###############################################################################
# DCN30
###############################################################################
DWB_DCN30 = dcn30_dwb.o dcn30_dwb_cm.o

AMD_DAL_DWB_DCN30 = $(addprefix $(AMDDALPATH)/dc/dwb/dcn30/,$(DWB_DCN30))

AMD_DISPLAY_FILES += $(AMD_DAL_DWB_DCN30)

###############################################################################
# DCN35
###############################################################################
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/dwb/dcn35/dcn35_dwb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*
*/

#include "reg_helper.h"
#include "dcn35_dwb.h"

Expand Down

0 comments on commit b8d3782

Please sign in to comment.