Home
last modified time | relevance | path

Searched refs:panel_mode (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Datombios_dp.c411 int panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in radeon_dp_get_panel_mode() local
416 return panel_mode; in radeon_dp_get_panel_mode()
419 return panel_mode; in radeon_dp_get_panel_mode()
426 panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE; in radeon_dp_get_panel_mode()
429 panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE; in radeon_dp_get_panel_mode()
431 panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in radeon_dp_get_panel_mode()
438 panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE; in radeon_dp_get_panel_mode()
442 return panel_mode; in radeon_dp_get_panel_mode()
612 if (dig->panel_mode == DP_PANEL_MODE_INTERNAL_DP2_MODE) in radeon_dp_link_train_init()
H A Dradeon_mode.h431 int panel_mode; member
722 extern void atombios_dig_encoder_setup(struct drm_encoder *encoder, int action, int panel_mode);
723 extern void atombios_dig_encoder_setup2(struct drm_encoder *encoder, int action, int panel_mode, in…
H A Datombios_encoders.c831 atombios_dig_encoder_setup2(struct drm_encoder *encoder, int action, int panel_mode, int enc_overri… in atombios_dig_encoder_setup2() argument
880 args.v3.ucPanelMode = panel_mode; in atombios_dig_encoder_setup2()
917 args.v3.ucPanelMode = panel_mode; in atombios_dig_encoder_setup2()
940 args.v4.ucPanelMode = panel_mode; in atombios_dig_encoder_setup2()
987 atombios_dig_encoder_setup(struct drm_encoder *encoder, int action, int panel_mode) in atombios_dig_encoder_setup() argument
989 atombios_dig_encoder_setup2(encoder, action, panel_mode, -1); in atombios_dig_encoder_setup()
1676 dig->panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in radeon_atom_encoder_dpms_dig()
1678 dig->panel_mode = radeon_dp_get_panel_mode(encoder, connector); in radeon_atom_encoder_dpms_dig()
1684 dig->panel_mode); in radeon_atom_encoder_dpms_dig()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_dp.c377 int panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in amdgpu_atombios_dp_get_panel_mode() local
382 return panel_mode; in amdgpu_atombios_dp_get_panel_mode()
389 panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE; in amdgpu_atombios_dp_get_panel_mode()
392 panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE; in amdgpu_atombios_dp_get_panel_mode()
394 panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in amdgpu_atombios_dp_get_panel_mode()
401 panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE; in amdgpu_atombios_dp_get_panel_mode()
405 return panel_mode; in amdgpu_atombios_dp_get_panel_mode()
556 if (dig->panel_mode == DP_PANEL_MODE_INTERNAL_DP2_MODE) in amdgpu_atombios_dp_link_train_init()
H A Datombios_encoders.h48 int action, int panel_mode);
H A Datombios_encoders.c561 int action, int panel_mode) in amdgpu_atombios_encoder_setup_dig_encoder() argument
601 args.v3.ucPanelMode = panel_mode; in amdgpu_atombios_encoder_setup_dig_encoder()
636 args.v3.ucPanelMode = panel_mode; in amdgpu_atombios_encoder_setup_dig_encoder()
656 args.v4.ucPanelMode = panel_mode; in amdgpu_atombios_encoder_setup_dig_encoder()
688 args.v5.asDPPanelModeParam.ucPanelMode = panel_mode; in amdgpu_atombios_encoder_setup_dig_encoder()
1311 dig->panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE; in amdgpu_atombios_encoder_setup_dig()
1313 dig->panel_mode = amdgpu_atombios_dp_get_panel_mode(encoder, connector); in amdgpu_atombios_encoder_setup_dig()
1319 dig->panel_mode); in amdgpu_atombios_encoder_setup_dig()
H A Damdgpu_mode.h529 int panel_mode; member
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.h31 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode);
80 enum dp_panel_mode *panel_mode, bool enable);
H A Dlink_edp_panel_control.c53 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode) in dp_set_panel_mode() argument
61 switch (panel_mode) { in dp_set_panel_mode()
93 link->panel_mode = panel_mode; in dp_set_panel_mode()
1195 enum dp_panel_mode *panel_mode, bool enable) in edp_set_panel_assr() argument
1200 if (*panel_mode != DP_PANEL_MODE_EDP) in edp_set_panel_assr()
1215 if (!result && link->panel_mode != DP_PANEL_MODE_EDP) in edp_set_panel_assr()
1216 *panel_mode = DP_PANEL_MODE_DEFAULT; in edp_set_panel_assr()
H A Dlink_dp_training.c1606 enum dp_panel_mode panel_mode = dp_get_panel_mode(link); in perform_link_training_with_retries() local
1648 edp_set_panel_assr(link, pipe_ctx, &panel_mode, true); in perform_link_training_with_retries()
1650 dp_set_panel_mode(link, panel_mode); in perform_link_training_with_retries()
/linux/drivers/gpu/drm/panel/
H A Dpanel-tpo-tpg110.c81 const struct tpg110_panel_mode *panel_mode; member
317 tpg->panel_mode = pm; in tpg110_startup()
379 connector->display_info.bus_flags = tpg->panel_mode->bus_flags; in tpg110_get_modes()
381 mode = drm_mode_duplicate(connector->dev, &tpg->panel_mode->mode); in tpg110_get_modes()
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c420 const struct drm_display_mode *panel_mode; in shmob_drm_encoder_mode_fixup() local
428 panel_mode = list_first_entry(&connector->modes, in shmob_drm_encoder_mode_fixup()
430 drm_mode_copy(adjusted_mode, panel_mode); in shmob_drm_encoder_mode_fixup()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_link_encoder.c296 enum dp_panel_mode panel_mode) in setup_panel_mode() argument
308 switch (panel_mode) { in setup_panel_mode()
518 enum dp_panel_mode panel_mode) in set_dp_phy_pattern_passthrough_mode() argument
521 setup_panel_mode(enc110, panel_mode); in set_dp_phy_pattern_passthrough_mode()
546 enum dp_panel_mode panel_mode) in dce60_set_dp_phy_pattern_passthrough_mode() argument
549 setup_panel_mode(enc110, panel_mode); in dce60_set_dp_phy_pattern_passthrough_mode()
/linux/drivers/gpu/drm/stm/
H A Dlvds.c890 const struct drm_display_mode *panel_mode; in lvds_connector_atomic_check() local
906 panel_mode = list_first_entry(&connector->modes, in lvds_connector_atomic_check()
914 if (crtc_state->mode.hdisplay != panel_mode->hdisplay || in lvds_connector_atomic_check()
915 crtc_state->mode.vdisplay != panel_mode->vdisplay) in lvds_connector_atomic_check()
919 drm_mode_copy(&crtc_state->adjusted_mode, panel_mode); in lvds_connector_atomic_check()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_link_encoder.c229 enum dp_panel_mode panel_mode) in setup_panel_mode() argument
238 switch (panel_mode) { in setup_panel_mode()
397 enum dp_panel_mode panel_mode) in set_dp_phy_pattern_passthrough_mode() argument
400 setup_panel_mode(enc10, panel_mode); in set_dp_phy_pattern_passthrough_mode()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c657 enum dp_panel_mode panel_mode = in update_psp_stream_config() local
703 config.assr_enabled = (panel_mode == DP_PANEL_MODE_EDP) ? 1 : 0; in update_psp_stream_config()
2423 enum dp_panel_mode panel_mode = dp_get_panel_mode(pipe_ctx->stream->link); in link_set_dpms_off() local
2425 link->panel_mode = panel_mode; in link_set_dpms_off()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1722 enum dp_panel_mode panel_mode; member