mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 20:12:38 -04:00
drm/amd/display: Hook up calls to do stereo mux and dig programming to stereo control interface
[Why] Implementation of stereo mux register is complete, but unused. Need to call functions to write relevant configs. [How] Add function to write stereo config for enable/disable case and call in stereo control interface. Signed-off-by: Murton Liu <murton.liu@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -51,13 +51,29 @@ struct gpio *dal_gpio_service_create_irq(
|
||||
uint32_t offset,
|
||||
uint32_t mask);
|
||||
|
||||
struct gpio *dal_gpio_service_create_generic_mux(
|
||||
struct gpio_service *service,
|
||||
uint32_t offset,
|
||||
uint32_t mask);
|
||||
|
||||
void dal_gpio_destroy_generic_mux(
|
||||
struct gpio **mux);
|
||||
|
||||
enum gpio_result dal_mux_setup_config(
|
||||
struct gpio *mux,
|
||||
struct gpio_generic_mux_config *config);
|
||||
|
||||
struct gpio_pin_info dal_gpio_get_generic_pin_info(
|
||||
struct gpio_service *service,
|
||||
enum gpio_id id,
|
||||
uint32_t en);
|
||||
|
||||
struct ddc *dal_gpio_create_ddc(
|
||||
struct gpio_service *service,
|
||||
uint32_t offset,
|
||||
uint32_t mask,
|
||||
struct gpio_ddc_hw_info *info);
|
||||
|
||||
|
||||
void dal_gpio_destroy_ddc(
|
||||
struct ddc **ddc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user