Lines Matching refs:amdgpu_encoder
384 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_print_display_setup() local
424 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_print_display_setup()
425 devices = amdgpu_encoder->devices & amdgpu_connector->devices; in amdgpu_print_display_setup()
428 DRM_INFO(" CRT1: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
430 DRM_INFO(" CRT2: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
432 DRM_INFO(" LCD1: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
434 DRM_INFO(" DFP1: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
436 DRM_INFO(" DFP2: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
438 DRM_INFO(" DFP3: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
440 DRM_INFO(" DFP4: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
442 DRM_INFO(" DFP5: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
444 DRM_INFO(" DFP6: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
446 DRM_INFO(" TV1: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
448 DRM_INFO(" CV: %s\n", encoder_names[amdgpu_encoder->encoder_id]); in amdgpu_print_display_setup()
695 struct amdgpu_encoder *amdgpu_encoder; in amdgpu_crtc_scaling_mode_fixup() local
707 amdgpu_encoder = to_amdgpu_encoder(encoder); in amdgpu_crtc_scaling_mode_fixup()
712 if (amdgpu_encoder->rmx_type == RMX_OFF) in amdgpu_crtc_scaling_mode_fixup()
714 else if (mode->hdisplay < amdgpu_encoder->native_mode.hdisplay || in amdgpu_crtc_scaling_mode_fixup()
715 mode->vdisplay < amdgpu_encoder->native_mode.vdisplay) in amdgpu_crtc_scaling_mode_fixup()
716 amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type; in amdgpu_crtc_scaling_mode_fixup()
721 &amdgpu_encoder->native_mode, in amdgpu_crtc_scaling_mode_fixup()
730 ((amdgpu_encoder->underscan_type == UNDERSCAN_ON) || in amdgpu_crtc_scaling_mode_fixup()
731 ((amdgpu_encoder->underscan_type == UNDERSCAN_AUTO) && in amdgpu_crtc_scaling_mode_fixup()
734 if (amdgpu_encoder->underscan_hborder != 0) in amdgpu_crtc_scaling_mode_fixup()
735 amdgpu_crtc->h_border = amdgpu_encoder->underscan_hborder; in amdgpu_crtc_scaling_mode_fixup()
738 if (amdgpu_encoder->underscan_vborder != 0) in amdgpu_crtc_scaling_mode_fixup()
739 amdgpu_crtc->v_border = amdgpu_encoder->underscan_vborder; in amdgpu_crtc_scaling_mode_fixup()