/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 584 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 …]
|
D | amdgpu_display.c | 1339 if (amdgpu_encoder->rmx_type == RMX_OFF) in amdgpu_display_crtc_scaling_mode_fixup() 1340 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1343 amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type; in amdgpu_display_crtc_scaling_mode_fixup() 1345 amdgpu_crtc->rmx_type = RMX_OFF; in amdgpu_display_crtc_scaling_mode_fixup() 1369 amdgpu_crtc->rmx_type = RMX_FULL; in amdgpu_display_crtc_scaling_mode_fixup() 1376 if (amdgpu_crtc->rmx_type != RMX_OFF) { in amdgpu_display_crtc_scaling_mode_fixup()
|
D | amdgpu_mode.h | 386 enum amdgpu_rmx_type rmx_type; member 449 enum amdgpu_rmx_type rmx_type; member
|
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()
|
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() 3346 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v6_0_encoder_add() 3364 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v6_0_encoder_add()
|
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() 3426 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v8_0_encoder_add() 3444 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v8_0_encoder_add()
|
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() 3534 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v10_0_encoder_add() 3552 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v10_0_encoder_add()
|
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() 3663 amdgpu_encoder->rmx_type = RMX_OFF; in dce_v11_0_encoder_add() 3681 amdgpu_encoder->rmx_type = RMX_FULL; in dce_v11_0_encoder_add()
|
D | atombios_encoders.c | 301 else if (amdgpu_encoder->rmx_type != RMX_OFF) in amdgpu_atombios_encoder_mode_fixup()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 693 enum radeon_rmx_type rmx_type; in radeon_connector_set_property() local 704 case DRM_MODE_SCALE_NONE: rmx_type = RMX_OFF; break; in radeon_connector_set_property() 705 case DRM_MODE_SCALE_CENTER: rmx_type = RMX_CENTER; break; in radeon_connector_set_property() 706 case DRM_MODE_SCALE_ASPECT: rmx_type = RMX_ASPECT; break; in radeon_connector_set_property() 707 case DRM_MODE_SCALE_FULLSCREEN: rmx_type = RMX_FULL; break; in radeon_connector_set_property() 709 if (radeon_encoder->rmx_type == rmx_type) in radeon_connector_set_property() 712 if ((rmx_type != DRM_MODE_SCALE_NONE) && in radeon_connector_set_property() 716 radeon_encoder->rmx_type = rmx_type; in radeon_connector_set_property() 782 radeon_encoder->rmx_type = RMX_OFF; in radeon_fixup_lvds_native_mode() 843 if (radeon_encoder->rmx_type == RMX_OFF) { in radeon_lvds_mode_valid() [all …]
|
D | radeon_display.c | 1710 if (radeon_encoder->rmx_type == RMX_OFF) in radeon_crtc_scaling_mode_fixup() 1711 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1714 radeon_crtc->rmx_type = radeon_encoder->rmx_type; in radeon_crtc_scaling_mode_fixup() 1716 radeon_crtc->rmx_type = RMX_OFF; in radeon_crtc_scaling_mode_fixup() 1741 radeon_crtc->rmx_type = RMX_FULL; in radeon_crtc_scaling_mode_fixup() 1749 if (radeon_crtc->rmx_type != radeon_encoder->rmx_type) { in radeon_crtc_scaling_mode_fixup() 1761 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 | 340 enum radeon_rmx_type rmx_type; member 452 enum radeon_rmx_type rmx_type; member
|
D | radeon_legacy_crtc.c | 130 switch (radeon_crtc->rmx_type) { in radeon_legacy_rmx_mode_set() 1051 if (radeon_crtc->rmx_type != RMX_OFF) { in radeon_crtc_mode_set()
|
D | atombios_encoders.c | 328 } else if (radeon_encoder->rmx_type != RMX_OFF) { in radeon_atom_mode_fixup() 2702 radeon_encoder->rmx_type = RMX_OFF; in radeon_add_atom_encoder() 2713 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder() 2747 radeon_encoder->rmx_type = RMX_FULL; in radeon_add_atom_encoder()
|
D | radeon_legacy_tv.c | 599 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
|
D | rs690.c | 331 if (crtc->rmx_type != RMX_OFF) { in rs690_crtc_bandwidth_compute()
|
D | atombios_crtc.c | 54 switch (radeon_crtc->rmx_type) { in atombios_overscan_setup() 143 switch (radeon_crtc->rmx_type) { in atombios_scaler_setup()
|
D | rv515.c | 979 if (crtc->rmx_type != RMX_OFF) { in rv515_crtc_bandwidth_compute()
|
D | evergreen.c | 2201 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks() 2228 if (radeon_crtc->rmx_type != RMX_OFF) in evergreen_program_watermarks()
|
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()
|
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.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 4996 enum amdgpu_rmx_type rmx_type; in update_stream_scaling_settings() local 5012 rmx_type = dm_state->scaling; in update_stream_scaling_settings() 5013 if (rmx_type == RMX_ASPECT || rmx_type == RMX_OFF) { in update_stream_scaling_settings() 5024 } else if (rmx_type == RMX_CENTER) { in update_stream_scaling_settings() 5919 enum amdgpu_rmx_type rmx_type; in amdgpu_dm_connector_atomic_set_property() local 5923 rmx_type = RMX_CENTER; in amdgpu_dm_connector_atomic_set_property() 5926 rmx_type = RMX_ASPECT; in amdgpu_dm_connector_atomic_set_property() 5929 rmx_type = RMX_FULL; in amdgpu_dm_connector_atomic_set_property() 5933 rmx_type = RMX_OFF; in amdgpu_dm_connector_atomic_set_property() 5937 if (dm_old_state->scaling == rmx_type) in amdgpu_dm_connector_atomic_set_property() [all …]
|