Home
last modified time | relevance | path

Searched refs:radeon_crtc (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_cursor.c35 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_lock_cursor() local
64 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_hide_cursor() local
92 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_show_cursor() local
125 radeon_crtc->cursor_addr - radeon_crtc->legacy_display_base_addr); in radeon_show_cursor()
146 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_cursor_move_locked() local
151 radeon_crtc->cursor_x = x; in radeon_cursor_move_locked()
244 radeon_crtc->cursor_addr - radeon_crtc->legacy_display_base_addr + in radeon_cursor_move_locked()
284 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_cursor_set2() local
334 x = radeon_crtc->cursor_x + radeon_crtc->cursor_hot_x - hot_x; in radeon_crtc_cursor_set2()
335 y = radeon_crtc->cursor_y + radeon_crtc->cursor_hot_y - hot_y; in radeon_crtc_cursor_set2()
[all …]
A Datombios_crtc.c44 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_overscan_setup() local
87 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_scaler_setup() local
169 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_lock_crtc() local
186 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_enable_crtc() local
202 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_enable_crtc_memreq() local
228 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_blank_crtc() local
253 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_powergate_crtc() local
1103 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
1108 radeon_crtc->bpc, radeon_crtc->ss_enabled, &radeon_crtc->ss); in atombios_crtc_set_pll()
1130 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
[all …]
A Dradeon_display.c52 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in avivo_crtc_load_lut() local
90 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce4_crtc_load_lut() local
124 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce5_crtc_load_lut() local
196 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in legacy_crtc_load_lut() local
251 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_destroy() local
285 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_vblank() local
366 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_flip() local
488 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_page_flip_target() local
685 struct radeon_crtc *radeon_crtc; in radeon_crtc_init() local
709 radeon_crtc->mode_set.crtc = &radeon_crtc->base; in radeon_crtc_init()
[all …]
A Dradeon_legacy_crtc.c42 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_overscan_setup() local
54 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_legacy_rmx_mode_set() local
299 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_dpms() local
305 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
330 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
346 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
379 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_do_set_base() local
577 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_set_crtc_timing() local
737 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_set_pll() local
1040 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_mode_set() local
[all …]
A Drs600.c122 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip() local
123 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip()
129 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
135 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rs600_page_flip()
158 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip_pending() local
327 struct radeon_crtc *radeon_crtc; in rs600_pm_prepare() local
332 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_prepare()
333 if (radeon_crtc->enabled) { in rs600_pm_prepare()
345 struct radeon_crtc *radeon_crtc; in rs600_pm_finish() local
350 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_finish()
[all …]
A Ddce6_afmt.h32 struct radeon_crtc;
48 struct radeon_crtc *crtc, unsigned int clock);
50 struct radeon_crtc *crtc, unsigned int clock);
A Dradeon_legacy_encoders.c192 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_lvds_mode_set() local
230 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set()
583 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_primary_dac_mode_set() local
589 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set()
780 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_int_mode_set() local
847 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set()
945 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_ext_mode_set() local
983 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set()
1151 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_dac_mode_set() local
1228 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tv_dac_mode_set()
[all …]
A Devergreen_hdmi.h37 struct radeon_crtc;
60 struct radeon_crtc *crtc, unsigned int clock);
62 struct radeon_crtc *crtc, unsigned int clock);
A Dr600.h34 struct radeon_crtc;
47 struct radeon_crtc *crtc, unsigned int clock);
A Datombios_encoders.c456 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_get_bpc() local
457 bpc = radeon_crtc->bpc; in radeon_atom_get_bpc()
1042 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_dig_transmitter_setup2() local
1043 pll_id = radeon_crtc->pll_id; in atombios_dig_transmitter_setup2()
1530 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_yuv_setup() local
1554 args.ucCRTC = radeon_crtc->crtc_id; in atombios_yuv_setup()
1849 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_set_encoder_crtc_source() local
1998 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_apply_encoder_quirks() local
2050 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_pick_dig_encoder() local
2098 enc_idx = radeon_crtc->crtc_id; in radeon_atom_pick_dig_encoder()
[all …]
A Devergreen.c1296 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce4_program_fmt() local
1418 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip() local
1446 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip_pending() local
1677 struct radeon_crtc *radeon_crtc; in evergreen_pm_prepare() local
1683 if (radeon_crtc->enabled) { in evergreen_pm_prepare()
1702 struct radeon_crtc *radeon_crtc; in evergreen_pm_finish() local
1708 if (radeon_crtc->enabled) { in evergreen_pm_finish()
1826 struct radeon_crtc *radeon_crtc, in evergreen_line_buffer_adjust() argument
1867 if (radeon_crtc->crtc_id % 2) in evergreen_line_buffer_adjust()
2155 struct radeon_crtc *radeon_crtc, in evergreen_program_watermarks() argument
[all …]
A Dradeon_mode.h45 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base)
246 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS];
322 struct radeon_crtc { struct
906 struct radeon_crtc *radeon_crtc);
908 struct radeon_crtc *radeon_crtc);
923 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
A Dradeon_legacy_tv.c241 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_get_std_mode() local
246 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_get_std_mode()
247 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_get_std_mode()
532 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_mode_set() local
549 radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_mode_set()
595 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_mode_set()
598 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
A Drv770.c813 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip() local
814 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rv770_page_flip()
815 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rv770_page_flip()
820 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
823 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rv770_page_flip()
826 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rv770_page_flip()
829 if (radeon_crtc->crtc_id) { in rv770_page_flip()
838 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip()
851 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
856 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip_pending() local
[all …]
A Devergreen_hdmi.c76 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr() local
77 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr()
229 struct radeon_crtc *crtc, unsigned int clock) in dce4_hdmi_audio_set_dto()
272 struct radeon_crtc *crtc, unsigned int clock) in dce4_dp_audio_set_dto()
A Dr600_dpm.c160 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vblank_time() local
166 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vblank_time()
167 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vblank_time()
169 radeon_crtc->hw_mode.crtc_htotal * in r600_dpm_get_vblank_time()
170 (radeon_crtc->hw_mode.crtc_vblank_end - in r600_dpm_get_vblank_time()
171 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time()
172 (radeon_crtc->v_border * 2)); in r600_dpm_get_vblank_time()
187 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vrefresh() local
192 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vrefresh()
193 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vrefresh()
[all …]
A Dradeon_audio.h55 struct radeon_crtc *crtc, unsigned int clock);
91 struct radeon_crtc *crtc, unsigned int clock);
A Dradeon_device.c1577 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_suspend_kms() local
1581 if (radeon_crtc->cursor_bo) { in radeon_suspend_kms()
1582 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_suspend_kms()
1702 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_resume_kms() local
1704 if (radeon_crtc->cursor_bo) { in radeon_resume_kms()
1705 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_resume_kms()
1713 &radeon_crtc->cursor_addr); in radeon_resume_kms()
A Dr100.c165 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip() local
207 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip_pending() local
463 struct radeon_crtc *radeon_crtc; in r100_pm_prepare() local
468 radeon_crtc = to_radeon_crtc(crtc); in r100_pm_prepare()
469 if (radeon_crtc->enabled) { in r100_pm_prepare()
470 if (radeon_crtc->crtc_id) { in r100_pm_prepare()
494 struct radeon_crtc *radeon_crtc; in r100_pm_finish() local
500 if (radeon_crtc->enabled) { in r100_pm_finish()
501 if (radeon_crtc->crtc_id) { in r100_pm_finish()
1435 struct radeon_crtc *radeon_crtc; in r100_cs_packet_parse_vline() local
[all …]
A Dradeon_pm.c1696 struct radeon_crtc *radeon_crtc; in radeon_pm_compute_clocks_old() local
1708 radeon_crtc = to_radeon_crtc(crtc); in radeon_pm_compute_clocks_old()
1709 if (radeon_crtc->enabled) { in radeon_pm_compute_clocks_old()
1710 rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); in radeon_pm_compute_clocks_old()
1769 struct radeon_crtc *radeon_crtc; in radeon_pm_compute_clocks_dpm() local
1784 radeon_crtc = to_radeon_crtc(crtc); in radeon_pm_compute_clocks_dpm()
1786 rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id); in radeon_pm_compute_clocks_dpm()
1788 if (!radeon_crtc->connector) in radeon_pm_compute_clocks_dpm()
1791 radeon_connector = to_radeon_connector(radeon_crtc->connector); in radeon_pm_compute_clocks_dpm()
A Dsi.c1967 struct radeon_crtc *radeon_crtc, in dce6_line_buffer_adjust() argument
1986 if (radeon_crtc->base.enabled && mode) { in dce6_line_buffer_adjust()
2011 if (radeon_crtc->base.enabled && mode) { in dce6_line_buffer_adjust()
2294 struct radeon_crtc *radeon_crtc, in dce6_program_watermarks() argument
2341 wm_high.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
2343 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
2368 wm_low.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
2370 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
2406 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
2418 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
[all …]
A Ddce6_afmt.c270 struct radeon_crtc *crtc, unsigned int clock) in dce6_hdmi_audio_set_dto()
289 struct radeon_crtc *crtc, unsigned int clock) in dce6_dp_audio_set_dto()
A Dradeon_audio.c442 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); in radeon_audio_set_dto()
600 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_hdmi_set_color_depth() local
601 bpc = radeon_crtc->bpc; in radeon_hdmi_set_color_depth()
A Dcik.c8728 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce8_program_fmt() local
8801 struct radeon_crtc *radeon_crtc, in dce8_line_buffer_adjust() argument
8814 if (radeon_crtc->base.enabled && mode) { in dce8_line_buffer_adjust()
8846 if (radeon_crtc->base.enabled && mode) { in dce8_line_buffer_adjust()
9230 struct radeon_crtc *radeon_crtc, in dce8_program_watermarks() argument
9266 wm_high.vsc = radeon_crtc->vsc; in dce8_program_watermarks()
9268 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
9306 wm_low.vsc = radeon_crtc->vsc; in dce8_program_watermarks()
9308 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
9352 radeon_crtc->line_time = line_time; in dce8_program_watermarks()
[all …]
A Dradeon_kms.c278 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_info_ioctl() local
279 *value = radeon_crtc->crtc_id; in radeon_info_ioctl()

Completed in 89 milliseconds

12