/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 562 enum amdgpu_rmx_type rmx_type; in amdgpu_connector_set_property() local 575 rmx_type = RMX_OFF; in amdgpu_connector_set_property() 578 rmx_type = RMX_CENTER; in amdgpu_connector_set_property() 581 rmx_type = RMX_ASPECT; in amdgpu_connector_set_property() 584 rmx_type = RMX_FULL; in amdgpu_connector_set_property() 588 if (amdgpu_encoder->rmx_type == rmx_type) in amdgpu_connector_set_property() 591 if ((rmx_type != DRM_MODE_SCALE_NONE) && in amdgpu_connector_set_property() 595 amdgpu_encoder->rmx_type = rmx_type; in amdgpu_connector_set_property() 635 amdgpu_encoder->rmx_type = RMX_OFF; in amdgpu_connector_fixup_lcd_native_mode() 696 if (amdgpu_encoder->rmx_type == RMX_OFF) { in amdgpu_connector_lvds_mode_valid() [all …]
|
D | amdgpu_display.c | 1458 if (amdgpu_encoder->rmx_type == RMX_OFF) in amdgpu_display_crtc_scaling_mode_fixup() 1459 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1462 amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type; in amdgpu_display_crtc_scaling_mode_fixup() 1464 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1488 amdgpu_crtc->rmx_type = RMX_FULL; in amdgpu_display_crtc_scaling_mode_fixup() 1495 if (amdgpu_crtc->rmx_type != RMX_OFF) { in amdgpu_display_crtc_scaling_mode_fixup()
|
D | amdgpu_mode.h | 474 enum amdgpu_rmx_type rmx_type; member 541 enum amdgpu_rmx_type rmx_type; member
|
D | atombios_crtc.c | 53 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_overscan_setup() 95 switch (amdgpu_crtc->rmx_type) { in amdgpu_atombios_crtc_scaler_setup()
|
D | dce_v6_0.c | 891 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks() 918 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v6_0_program_watermarks() 3380 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v6_0_encoder_add() 3398 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v6_0_encoder_add()
|
D | dce_v8_0.c | 1017 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks() 1056 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v8_0_program_watermarks() 3455 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v8_0_encoder_add() 3473 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v8_0_encoder_add()
|
D | dce_v10_0.c | 1064 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() 3546 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v10_0_encoder_add() 3564 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v10_0_encoder_add()
|
D | dce_v11_0.c | 1096 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v11_0_program_watermarks() 1135 if (amdgpu_crtc->rmx_type != RMX_OFF) in dce_v11_0_program_watermarks() 3683 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v11_0_encoder_add() 3701 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v11_0_encoder_add()
|
D | atombios_encoders.c | 300 else if (amdgpu_encoder->rmx_type != RMX_OFF) in amdgpu_atombios_encoder_mode_fixup()
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 678 enum radeon_rmx_type rmx_type; in radeon_connector_set_property() local 689 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in radeon_connector_set_property() 690 case DRM_MODE_SCALE_CENTER: rmx_type = RMX_CENTER; break; in radeon_connector_set_property() 691 case DRM_MODE_SCALE_ASPECT: rmx_type = RMX_ASPECT; break; in radeon_connector_set_property() 692 case DRM_MODE_SCALE_FULLSCREEN: rmx_type = RMX_FULL; break; in radeon_connector_set_property() 694 if (radeon_encoder->rmx_type == rmx_type) in radeon_connector_set_property() 697 if ((rmx_type != DRM_MODE_SCALE_NONE) && in radeon_connector_set_property() 701 radeon_encoder->rmx_type = rmx_type; in radeon_connector_set_property() 767 radeon_encoder->rmx_type = RMX_OFF; in radeon_fixup_lvds_native_mode() 828 if (radeon_encoder->rmx_type == RMX_OFF) { in radeon_lvds_mode_valid() [all …]
|
D | radeon_display.c | 1704 if (radeon_encoder->rmx_type == RMX_OFF) in radeon_crtc_scaling_mode_fixup() 1705 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1708 radeon_crtc->rmx_type = radeon_encoder->rmx_type; in radeon_crtc_scaling_mode_fixup() 1710 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1735 radeon_crtc->rmx_type = RMX_FULL; in radeon_crtc_scaling_mode_fixup() 1743 if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { in radeon_crtc_scaling_mode_fixup() 1755 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_scaling_mode_fixup()
|
D | radeon_legacy_encoders.c | 232 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_lvds_mode_set() 850 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_int_mode_set() 986 if (radeon_encoder->rmx_type != RMX_OFF) in radeon_legacy_tmds_ext_mode_set() 1770 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_legacy_encoder() 1782 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_legacy_encoder()
|
D | radeon_mode.h | 336 enum radeon_rmx_type rmx_type; member 448 enum radeon_rmx_type rmx_type; member
|
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()
|
D | atombios_encoders.c | 330 } else if (radeon_encoder->rmx_type != RMX_OFF) { in radeon_atom_mode_fixup() 2705 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_atom_encoder() 2716 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder() 2750 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder()
|
D | radeon_legacy_tv.c | 598 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
|
D | atombios_crtc.c | 53 switch (radeon_crtc->rmx_type) { in atombios_overscan_setup() 142 switch (radeon_crtc->rmx_type) { in atombios_scaler_setup()
|
D | rs690.c | 331 if (crtc->rmx_type != RMX_OFF) { in rs690_crtc_bandwidth_compute()
|
D | rv515.c | 979 if (crtc->rmx_type != RMX_OFF) { in rv515_crtc_bandwidth_compute()
|
D | evergreen.c | 2202 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks() 2229 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks()
|
D | si.c | 2324 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks() 2351 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
|
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-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 5809 enum amdgpu_rmx_type rmx_type; in update_stream_scaling_settings() local 5825 rmx_type = dm_state->scaling; in update_stream_scaling_settings() 5826 if (rmx_type == RMX_ASPECT || rmx_type == RMX_OFF) { in update_stream_scaling_settings() 5837 } else if (rmx_type == RMX_CENTER) { in update_stream_scaling_settings() 6815 enum amdgpu_rmx_type rmx_type; in amdgpu_dm_connector_atomic_set_property() local 6819 rmx_type = RMX_CENTER; in amdgpu_dm_connector_atomic_set_property() 6822 rmx_type = RMX_ASPECT; in amdgpu_dm_connector_atomic_set_property() 6825 rmx_type = RMX_FULL; in amdgpu_dm_connector_atomic_set_property() 6829 rmx_type = RMX_OFF; in amdgpu_dm_connector_atomic_set_property() 6833 if (dm_old_state->scaling == rmx_type) in amdgpu_dm_connector_atomic_set_property() [all …]
|