/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_connectors.c | 576 enum amdgpu_rmx_type rmx_type; in amdgpu_connector_set_property() local 592 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_property() 595 if ((rmx_type != DRM_MODE_SCALE_NONE) && in amdgpu_connector_set_property() 599 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_property() 639 amdgpu_encoder->rmx_type = RMX_OFF; in amdgpu_connector_fixup_lcd_native_mode() 700 if (amdgpu_encoder->rmx_type == RMX_OFF) { in amdgpu_connector_lvds_mode_valid() 779 enum amdgpu_rmx_type rmx_type; in amdgpu_connector_set_lcd_property() local 793 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in amdgpu_connector_set_lcd_property() 799 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_lcd_property() 802 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_lcd_property() [all …]
|
A D | amdgpu_display.c | 1347 if (amdgpu_encoder->rmx_type == RMX_OFF) in amdgpu_display_crtc_scaling_mode_fixup() 1348 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1351 amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type; in amdgpu_display_crtc_scaling_mode_fixup() 1353 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1377 amdgpu_crtc->rmx_type = RMX_FULL; in amdgpu_display_crtc_scaling_mode_fixup() 1384 if (amdgpu_crtc->rmx_type != RMX_OFF) { in amdgpu_display_crtc_scaling_mode_fixup()
|
A D | amdgpu_mode.h | 400 enum amdgpu_rmx_type rmx_type; member 463 enum amdgpu_rmx_type rmx_type; member
|
A D | atombios_crtc.c | 54 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_overscan_setup() 96 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_scaler_setup()
|
A D | dce_v8_0.c | 1000 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks() 1039 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks() 3424 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v8_0_encoder_add() 3442 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v8_0_encoder_add()
|
A D | dce_v6_0.c | 872 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks() 899 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks() 3345 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v6_0_encoder_add() 3363 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v6_0_encoder_add()
|
A D | dce_v10_0.c | 1065 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v10_0_program_watermarks() 1104 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v10_0_program_watermarks() 3532 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v10_0_encoder_add() 3550 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v10_0_encoder_add()
|
A D | dce_v11_0.c | 1091 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v11_0_program_watermarks() 1130 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()
|
A D | atombios_encoders.c | 303 else if (amdgpu_encoder->rmx_type != RMX_OFF) in amdgpu_atombios_encoder_mode_fixup()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_connectors.c | 710 enum radeon_rmx_type rmx_type; in radeon_connector_set_property() local 726 if (radeon_encoder->rmx_type == rmx_type) in radeon_connector_set_property() 729 if ((rmx_type != DRM_MODE_SCALE_NONE) && in radeon_connector_set_property() 733 radeon_encoder->rmx_type = rmx_type; in radeon_connector_set_property() 799 radeon_encoder->rmx_type = RMX_OFF; in radeon_fixup_lvds_native_mode() 860 if (radeon_encoder->rmx_type == RMX_OFF) { in radeon_lvds_mode_valid() 945 enum radeon_rmx_type rmx_type; in radeon_lvds_set_property() local 959 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in radeon_lvds_set_property() 965 if (radeon_encoder->rmx_type == rmx_type) in radeon_lvds_set_property() 968 radeon_encoder->rmx_type = rmx_type; in radeon_lvds_set_property() [all …]
|
A D | radeon_display.c | 1702 if (radeon_encoder->rmx_type == RMX_OFF) in radeon_crtc_scaling_mode_fixup() 1703 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1706 radeon_crtc->rmx_type = radeon_encoder->rmx_type; in radeon_crtc_scaling_mode_fixup() 1708 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1733 radeon_crtc->rmx_type = RMX_FULL; in radeon_crtc_scaling_mode_fixup() 1741 if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { in radeon_crtc_scaling_mode_fixup() 1753 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_scaling_mode_fixup()
|
A D | radeon_legacy_encoders.c | 230 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_lvds_mode_set() 858 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_int_mode_set() 994 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_ext_mode_set() 1778 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_legacy_encoder() 1790 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_legacy_encoder()
|
A D | radeon_legacy_crtc.c | 129 switch (radeon_crtc->rmx_type) { in radeon_legacy_rmx_mode_set() 1050 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_mode_set()
|
A D | radeon_mode.h | 345 enum radeon_rmx_type rmx_type; member 469 enum radeon_rmx_type rmx_type; member
|
A D | atombios_encoders.c | 334 } else if (radeon_encoder->rmx_type != RMX_OFF) { in radeon_atom_mode_fixup() 2767 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_atom_encoder() 2778 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder() 2812 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder()
|
A D | radeon_legacy_tv.c | 599 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
|
A D | atombios_crtc.c | 53 switch (radeon_crtc->rmx_type) { in atombios_overscan_setup() 142 switch (radeon_crtc->rmx_type) { in atombios_scaler_setup()
|
A D | rs690.c | 331 if (crtc->rmx_type != RMX_OFF) { in rs690_crtc_bandwidth_compute()
|
A D | rv515.c | 979 if (crtc->rmx_type != RMX_OFF) { in rv515_crtc_bandwidth_compute()
|
A D | evergreen.c | 2200 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks() 2227 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks()
|
A D | si.c | 2343 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks() 2370 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
|
A D | cik.c | 9268 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks() 9308 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 5599 enum amdgpu_rmx_type rmx_type; in update_stream_scaling_settings() local 5615 rmx_type = dm_state->scaling; in update_stream_scaling_settings() 5616 if (rmx_type == RMX_ASPECT || rmx_type == RMX_OFF) { in update_stream_scaling_settings() 5627 } else if (rmx_type == RMX_CENTER) { in update_stream_scaling_settings() 6608 enum amdgpu_rmx_type rmx_type; in amdgpu_dm_connector_atomic_set_property() local 6612 rmx_type = RMX_CENTER; in amdgpu_dm_connector_atomic_set_property() 6615 rmx_type = RMX_ASPECT; in amdgpu_dm_connector_atomic_set_property() 6618 rmx_type = RMX_FULL; in amdgpu_dm_connector_atomic_set_property() 6622 rmx_type = RMX_OFF; in amdgpu_dm_connector_atomic_set_property() 6626 if (dm_old_state->scaling == rmx_type) in amdgpu_dm_connector_atomic_set_property() [all …]
|