forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
....@@ -25,7 +25,7 @@
2525
2626 #include "dce_hwseq.h"
2727 #include "reg_helper.h"
28
-#include "hw_sequencer.h"
28
+#include "hw_sequencer_private.h"
2929 #include "core_types.h"
3030
3131 #define CTX \
....@@ -85,6 +85,15 @@
8585 }
8686 }
8787
88
+#if defined(CONFIG_DRM_AMD_DC_SI)
89
+void dce60_pipe_control_lock(struct dc *dc,
90
+ struct pipe_ctx *pipe,
91
+ bool lock)
92
+{
93
+ /* DCE6 has no BLND_V_UPDATE_LOCK register */
94
+}
95
+#endif
96
+
8897 void dce_set_blender_mode(struct dce_hwseq *hws,
8998 unsigned int blnd_inst,
9099 enum blnd_mode mode)