forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c
....@@ -27,10 +27,10 @@
2727 #include "include/gpio_types.h"
2828 #include "../hw_factory.h"
2929
30
-
3130 #include "../hw_gpio.h"
3231 #include "../hw_ddc.h"
3332 #include "../hw_hpd.h"
33
+#include "../hw_generic.h"
3434
3535 #include "hw_factory_dce120.h"
3636
....@@ -162,14 +162,14 @@
162162 }
163163
164164
165
-/* fucntion table */
165
+/* function table */
166166 static const struct hw_factory_funcs funcs = {
167
- .create_ddc_data = dal_hw_ddc_create,
168
- .create_ddc_clock = dal_hw_ddc_create,
169
- .create_generic = NULL,
170
- .create_hpd = dal_hw_hpd_create,
171
- .create_sync = NULL,
172
- .create_gsl = NULL,
167
+ .init_ddc_data = dal_hw_ddc_init,
168
+ .init_generic = NULL,
169
+ .init_hpd = dal_hw_hpd_init,
170
+ .get_ddc_pin = dal_hw_ddc_get_pin,
171
+ .get_hpd_pin = dal_hw_hpd_get_pin,
172
+ .get_generic_pin = NULL,
173173 .define_hpd_registers = define_hpd_registers,
174174 .define_ddc_registers = define_ddc_registers
175175 };