Home
last modified time | relevance | path

Searched refs:rmx_type (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c584 enum amdgpu_rmx_type rmx_type; in amdgpu_connector_set_property() local
595 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in amdgpu_connector_set_property()
596 case DRM_MODE_SCALE_CENTER: rmx_type = RMX_CENTER; break; in amdgpu_connector_set_property()
597 case DRM_MODE_SCALE_ASPECT: rmx_type = RMX_ASPECT; break; in amdgpu_connector_set_property()
598 case DRM_MODE_SCALE_FULLSCREEN: rmx_type = RMX_FULL; break; in amdgpu_connector_set_property()
600 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_property()
603 if ((rmx_type != DRM_MODE_SCALE_NONE) && in amdgpu_connector_set_property()
607 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_property()
647 amdgpu_encoder->rmx_type = RMX_OFF; in amdgpu_connector_fixup_lcd_native_mode()
708 if (amdgpu_encoder->rmx_type == RMX_OFF) { in amdgpu_connector_lvds_mode_valid()
[all …]
Damdgpu_display.c718 if (amdgpu_encoder->rmx_type == RMX_OFF) in amdgpu_display_crtc_scaling_mode_fixup()
719 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup()
722 amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type; in amdgpu_display_crtc_scaling_mode_fixup()
724 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup()
748 amdgpu_crtc->rmx_type = RMX_FULL; in amdgpu_display_crtc_scaling_mode_fixup()
755 if (amdgpu_crtc->rmx_type != RMX_OFF) { in amdgpu_display_crtc_scaling_mode_fixup()
Damdgpu_mode.h397 enum amdgpu_rmx_type rmx_type; member
460 enum amdgpu_rmx_type rmx_type; member
Datombios_crtc.c54 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_overscan_setup()
96 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_scaler_setup()
Ddce_v8_0.c999 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks()
1038 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks()
3417 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v8_0_encoder_add()
3435 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v8_0_encoder_add()
Ddce_v6_0.c871 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks()
898 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks()
3340 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v6_0_encoder_add()
3358 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v6_0_encoder_add()
Ddce_v10_0.c1064 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v10_0_program_watermarks()
1103 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v10_0_program_watermarks()
3529 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v10_0_encoder_add()
3547 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v10_0_encoder_add()
Ddce_v11_0.c1090 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v11_0_program_watermarks()
1129 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v11_0_program_watermarks()
3661 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v11_0_encoder_add()
3679 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v11_0_encoder_add()
Datombios_encoders.c306 else if (amdgpu_encoder->rmx_type != RMX_OFF) in amdgpu_atombios_encoder_mode_fixup()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_connectors.c714 enum radeon_rmx_type rmx_type; in radeon_connector_set_property() local
725 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in radeon_connector_set_property()
726 case DRM_MODE_SCALE_CENTER: rmx_type = RMX_CENTER; break; in radeon_connector_set_property()
727 case DRM_MODE_SCALE_ASPECT: rmx_type = RMX_ASPECT; break; in radeon_connector_set_property()
728 case DRM_MODE_SCALE_FULLSCREEN: rmx_type = RMX_FULL; break; in radeon_connector_set_property()
730 if (radeon_encoder->rmx_type == rmx_type) in radeon_connector_set_property()
733 if ((rmx_type != DRM_MODE_SCALE_NONE) && in radeon_connector_set_property()
737 radeon_encoder->rmx_type = rmx_type; in radeon_connector_set_property()
803 radeon_encoder->rmx_type = RMX_OFF; in radeon_fixup_lvds_native_mode()
864 if (radeon_encoder->rmx_type == RMX_OFF) { in radeon_lvds_mode_valid()
[all …]
Dradeon_display.c1716 if (radeon_encoder->rmx_type == RMX_OFF) in radeon_crtc_scaling_mode_fixup()
1717 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup()
1720 radeon_crtc->rmx_type = radeon_encoder->rmx_type; in radeon_crtc_scaling_mode_fixup()
1722 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup()
1747 radeon_crtc->rmx_type = RMX_FULL; in radeon_crtc_scaling_mode_fixup()
1755 if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { in radeon_crtc_scaling_mode_fixup()
1767 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_scaling_mode_fixup()
Dradeon_legacy_encoders.c229 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_lvds_mode_set()
857 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_int_mode_set()
993 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_ext_mode_set()
1777 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_legacy_encoder()
1789 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_legacy_encoder()
Dradeon_mode.h345 enum radeon_rmx_type rmx_type; member
469 enum radeon_rmx_type rmx_type; member
Dradeon_legacy_crtc.c129 switch (radeon_crtc->rmx_type) { in radeon_legacy_rmx_mode_set()
1050 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_mode_set()
Datombios_encoders.c338 } else if (radeon_encoder->rmx_type != RMX_OFF) { in radeon_atom_mode_fixup()
2771 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_atom_encoder()
2782 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder()
2816 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder()
Dradeon_legacy_tv.c599 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
Drs690.c331 if (crtc->rmx_type != RMX_OFF) { in rs690_crtc_bandwidth_compute()
Datombios_crtc.c53 switch (radeon_crtc->rmx_type) { in atombios_overscan_setup()
142 switch (radeon_crtc->rmx_type) { in atombios_scaler_setup()
Drv515.c1011 if (crtc->rmx_type != RMX_OFF) { in rv515_crtc_bandwidth_compute()
Devergreen.c2199 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks()
2226 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks()
Dsi.c2348 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
2375 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
Dcik.c9285 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
9325 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c4295 enum amdgpu_rmx_type rmx_type; in update_stream_scaling_settings() local
4311 rmx_type = dm_state->scaling; in update_stream_scaling_settings()
4312 if (rmx_type == RMX_ASPECT || rmx_type == RMX_OFF) { in update_stream_scaling_settings()
4323 } else if (rmx_type == RMX_CENTER) { in update_stream_scaling_settings()
5082 enum amdgpu_rmx_type rmx_type; in amdgpu_dm_connector_atomic_set_property() local
5086 rmx_type = RMX_CENTER; in amdgpu_dm_connector_atomic_set_property()
5089 rmx_type = RMX_ASPECT; in amdgpu_dm_connector_atomic_set_property()
5092 rmx_type = RMX_FULL; in amdgpu_dm_connector_atomic_set_property()
5096 rmx_type = RMX_OFF; in amdgpu_dm_connector_atomic_set_property()
5100 if (dm_old_state->scaling == rmx_type) in amdgpu_dm_connector_atomic_set_property()
[all …]