Commit 2634682f authored by Randy Dunlap's avatar Randy Dunlap Committed by Alex Deucher

drm: amd/display: fix spelling of "function"

Fix spellos of "function" in drivers/gpu/drm/amd/display/.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent cce63598
...@@ -33,7 +33,7 @@ struct display_mode_lib; ...@@ -33,7 +33,7 @@ struct display_mode_lib;
// Function: dml_rq_dlg_get_rq_reg // Function: dml_rq_dlg_get_rq_reg
// Main entry point for test to get the register values out of this DML class. // Main entry point for test to get the register values out of this DML class.
// This function calls <get_rq_param> and <extract_rq_regs> fucntions to calculate // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
// and then populate the rq_regs struct // and then populate the rq_regs struct
// Input: // Input:
// pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.) // pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.)
......
...@@ -33,7 +33,7 @@ struct display_mode_lib; ...@@ -33,7 +33,7 @@ struct display_mode_lib;
// Function: dml_rq_dlg_get_rq_reg // Function: dml_rq_dlg_get_rq_reg
// Main entry point for test to get the register values out of this DML class. // Main entry point for test to get the register values out of this DML class.
// This function calls <get_rq_param> and <extract_rq_regs> fucntions to calculate // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
// and then populate the rq_regs struct // and then populate the rq_regs struct
// Input: // Input:
// pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.) // pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.)
......
...@@ -32,7 +32,7 @@ struct display_mode_lib; ...@@ -32,7 +32,7 @@ struct display_mode_lib;
// Function: dml_rq_dlg_get_rq_reg // Function: dml_rq_dlg_get_rq_reg
// Main entry point for test to get the register values out of this DML class. // Main entry point for test to get the register values out of this DML class.
// This function calls <get_rq_param> and <extract_rq_regs> fucntions to calculate // This function calls <get_rq_param> and <extract_rq_regs> functions to calculate
// and then populate the rq_regs struct // and then populate the rq_regs struct
// Input: // Input:
// pipe_param - pipe source configuration (e.g. vp, pitch, scaling, dest, etc.) // pipe_param - pipe source configuration (e.g. vp, pitch, scaling, dest, etc.)
......
...@@ -162,7 +162,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) ...@@ -162,7 +162,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en)
} }
/* fucntion table */ /* function table */
static const struct hw_factory_funcs funcs = { static const struct hw_factory_funcs funcs = {
.init_ddc_data = dal_hw_ddc_init, .init_ddc_data = dal_hw_ddc_init,
.init_generic = NULL, .init_generic = NULL,
......
...@@ -194,7 +194,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) ...@@ -194,7 +194,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en)
} }
/* fucntion table */ /* function table */
static const struct hw_factory_funcs funcs = { static const struct hw_factory_funcs funcs = {
.init_ddc_data = dal_hw_ddc_init, .init_ddc_data = dal_hw_ddc_init,
.init_generic = dal_hw_generic_init, .init_generic = dal_hw_generic_init,
......
...@@ -221,7 +221,7 @@ static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) ...@@ -221,7 +221,7 @@ static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en)
generic->base.regs = &generic_regs[en].gpio; generic->base.regs = &generic_regs[en].gpio;
} }
/* fucntion table */ /* function table */
static const struct hw_factory_funcs funcs = { static const struct hw_factory_funcs funcs = {
.init_ddc_data = dal_hw_ddc_init, .init_ddc_data = dal_hw_ddc_init,
.init_generic = dal_hw_generic_init, .init_generic = dal_hw_generic_init,
......
...@@ -202,7 +202,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) ...@@ -202,7 +202,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en)
} }
/* fucntion table */ /* function table */
static const struct hw_factory_funcs funcs = { static const struct hw_factory_funcs funcs = {
.init_ddc_data = dal_hw_ddc_init, .init_ddc_data = dal_hw_ddc_init,
.init_generic = dal_hw_generic_init, .init_generic = dal_hw_generic_init,
......
...@@ -218,7 +218,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) ...@@ -218,7 +218,7 @@ static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en)
} }
/* fucntion table */ /* function table */
static const struct hw_factory_funcs funcs = { static const struct hw_factory_funcs funcs = {
.init_ddc_data = dal_hw_ddc_init, .init_ddc_data = dal_hw_ddc_init,
.init_generic = dal_hw_generic_init, .init_generic = dal_hw_generic_init,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment