• Home
  • Raw
  • Download

Lines Matching refs:amdgpu_encoder

139 			struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);  in amdgpu_connector_get_monitor_bpc()  local
140 struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv; in amdgpu_connector_get_monitor_bpc()
377 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_get_native_mode() local
382 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_get_native_mode()
389 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
391 amdgpu_encoder->native_mode.clock = 0; in amdgpu_get_native_mode()
399 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_lcd_native_mode() local
401 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_lcd_native_mode()
431 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_add_common_modes() local
433 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_add_common_modes()
459 if (amdgpu_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) { in amdgpu_connector_add_common_modes()
464 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in amdgpu_connector_add_common_modes()
486 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_connector_set_property() local
497 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
499 if (!amdgpu_encoder->enc_priv) in amdgpu_connector_set_property()
502 dig = amdgpu_encoder->enc_priv; in amdgpu_connector_set_property()
506 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
517 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
521 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
532 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
536 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
546 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
548 if (amdgpu_encoder->underscan_type != val) { in amdgpu_connector_set_property()
549 amdgpu_encoder->underscan_type = val; in amdgpu_connector_set_property()
550 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
560 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
562 if (amdgpu_encoder->underscan_hborder != val) { in amdgpu_connector_set_property()
563 amdgpu_encoder->underscan_hborder = val; in amdgpu_connector_set_property()
564 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
574 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_set_property()
576 if (amdgpu_encoder->underscan_vborder != val) { in amdgpu_connector_set_property()
577 amdgpu_encoder->underscan_vborder = val; in amdgpu_connector_set_property()
578 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
596 amdgpu_encoder = to_amdgpu_encoder(connector->encoder); in amdgpu_connector_set_property()
599 amdgpu_encoder = to_amdgpu_encoder(connector_funcs->best_encoder(connector)); in amdgpu_connector_set_property()
609 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_property()
613 (amdgpu_encoder->native_mode.clock == 0)) in amdgpu_connector_set_property()
616 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_property()
618 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_property()
628 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_fixup_lcd_native_mode() local
629 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_fixup_lcd_native_mode()
656 amdgpu_encoder->rmx_type = RMX_OFF; in amdgpu_connector_fixup_lcd_native_mode()
706 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_lvds_mode_valid() local
707 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_lvds_mode_valid()
717 if (amdgpu_encoder->rmx_type == RMX_OFF) { in amdgpu_connector_lvds_mode_valid()
742 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_lvds_detect() local
743 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_lvds_detect()
793 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_connector_set_lcd_property() local
801 amdgpu_encoder = to_amdgpu_encoder(connector->encoder); in amdgpu_connector_set_lcd_property()
804 amdgpu_encoder = to_amdgpu_encoder(connector_funcs->best_encoder(connector)); in amdgpu_connector_set_lcd_property()
814 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_lcd_property()
817 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_lcd_property()
819 amdgpu_connector_property_change_mode(&amdgpu_encoder->base); in amdgpu_connector_set_lcd_property()
1299 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_connector_encoder_get_dp_bridge_encoder_id() local
1311 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_encoder_get_dp_bridge_encoder_id()
1313 switch (amdgpu_encoder->encoder_id) { in amdgpu_connector_encoder_get_dp_bridge_encoder_id()
1316 return amdgpu_encoder->encoder_id; in amdgpu_connector_encoder_get_dp_bridge_encoder_id()
1328 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_connector_encoder_is_hbr2() local
1340 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_encoder_is_hbr2()
1341 if (amdgpu_encoder->caps & ATOM_ENCODER_CAP_RECORD_HBR2) in amdgpu_connector_encoder_is_hbr2()
1388 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_dp_detect() local
1389 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_dp_detect()
1468 struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_dp_mode_valid() local
1469 struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode; in amdgpu_connector_dp_mode_valid()
1479 if (amdgpu_encoder->rmx_type == RMX_OFF) { in amdgpu_connector_dp_mode_valid()
1628 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_connector_add() local
1659 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_connector_add()
1660 if (amdgpu_encoder->devices & supported_device) { in amdgpu_connector_add()
1661 switch (amdgpu_encoder->encoder_id) { in amdgpu_connector_add()