Home
last modified time | relevance | path

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

12

/dragonfly/sys/dev/drm/radeon/
H A Dradeon_cursor.c33 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_lock_cursor() local
62 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_hide_cursor() local
90 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_show_cursor() local
123 radeon_crtc->cursor_addr - radeon_crtc->legacy_display_base_addr); in radeon_show_cursor()
144 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_cursor_move_locked() local
149 radeon_crtc->cursor_x = x; in radeon_cursor_move_locked()
242 radeon_crtc->cursor_addr - radeon_crtc->legacy_display_base_addr + in radeon_cursor_move_locked()
282 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_cursor_set2() local
332 x = radeon_crtc->cursor_x + radeon_crtc->cursor_hot_x - hot_x; in radeon_crtc_cursor_set2()
333 y = radeon_crtc->cursor_y + radeon_crtc->cursor_hot_y - hot_y; in radeon_crtc_cursor_set2()
[all …]
H A Datombios_crtc.c41 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_overscan_setup() local
84 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_scaler_setup() local
166 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_lock_crtc() local
183 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_enable_crtc() local
199 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_enable_crtc_memreq() local
225 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_blank_crtc() local
251 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_powergate_crtc() local
1110 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
1115 radeon_crtc->bpc, radeon_crtc->ss_enabled, &radeon_crtc->ss); in atombios_crtc_set_pll()
1137 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
[all …]
H A Dradeon_display.c42 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in avivo_crtc_load_lut() local
80 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce4_crtc_load_lut() local
114 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce5_crtc_load_lut() local
184 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in legacy_crtc_load_lut() local
239 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_destroy() local
276 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_vblank() local
357 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_flip() local
479 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_page_flip_target() local
670 struct radeon_crtc *radeon_crtc; in radeon_crtc_init() local
695 radeon_crtc->mode_set.crtc = &radeon_crtc->base; in radeon_crtc_init()
[all …]
H A Dradeon_legacy_crtc.c39 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_overscan_setup() local
51 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_legacy_rmx_mode_set() local
296 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_dpms() local
302 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
327 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
343 if (radeon_crtc->crtc_id) in radeon_crtc_dpms()
376 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_do_set_base() local
580 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_set_crtc_timing() local
740 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_set_pll() local
1043 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_mode_set() local
[all …]
H A Drs600.c114 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip() local
120 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
123 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rs600_page_flip()
140 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
145 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip_pending() local
314 struct radeon_crtc *radeon_crtc; in rs600_pm_prepare() local
319 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_prepare()
320 if (radeon_crtc->enabled) { in rs600_pm_prepare()
332 struct radeon_crtc *radeon_crtc; in rs600_pm_finish() local
337 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_finish()
[all …]
H A Dradeon_legacy_encoders.c180 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_lvds_mode_set() local
218 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set()
589 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_primary_dac_mode_set() local
595 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set()
786 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_int_mode_set() local
853 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set()
951 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_ext_mode_set() local
989 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set()
1157 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_dac_mode_set() local
1234 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tv_dac_mode_set()
[all …]
H A Dradeon_legacy_tv.c239 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_get_std_mode() local
244 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_get_std_mode()
245 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_get_std_mode()
427 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_init_restarts() local
436 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_init_restarts()
437 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_init_restarts()
540 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_mode_set() local
557 radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_mode_set()
603 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_mode_set()
606 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
H A Dradeon_dp_mst.c358 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_dp_mst_prepare_pll() local
361 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); in radeon_dp_mst_prepare_pll()
370 radeon_crtc->bpc = radeon_connector->base.display_info.bpc; in radeon_dp_mst_prepare_pll()
372 radeon_crtc->bpc = 8; in radeon_dp_mst_prepare_pll()
377 radeon_crtc->ss_enabled = in radeon_dp_mst_prepare_pll()
378 radeon_atombios_get_asic_ss_info(rdev, &radeon_crtc->ss, in radeon_dp_mst_prepare_pll()
393 struct radeon_crtc *radeon_crtc; in radeon_mst_encoder_dpms() local
420 radeon_crtc = to_radeon_crtc(crtc); in radeon_mst_encoder_dpms()
437 mst_enc->fe = radeon_atom_pick_dig_encoder(encoder, radeon_crtc->crtc_id); in radeon_mst_encoder_dpms()
445 dig_enc->linkb, radeon_crtc->crtc_id); in radeon_mst_encoder_dpms()
H A Datombios_encoders.c517 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_get_bpc() local
518 bpc = radeon_crtc->bpc; in radeon_atom_get_bpc()
1111 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_dig_transmitter_setup2() local
1112 pll_id = radeon_crtc->pll_id; in atombios_dig_transmitter_setup2()
1599 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_yuv_setup() local
1922 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_set_encoder_crtc_source() local
2070 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_set_mst_encoder_crtc_source() local
2119 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_apply_encoder_quirks() local
2171 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_pick_dig_encoder() local
2219 enc_idx = radeon_crtc->crtc_id; in radeon_atom_pick_dig_encoder()
[all …]
H A Devergreen_hdmi.c80 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr() local
81 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr()
243 struct radeon_crtc *crtc, unsigned int clock);
245 struct radeon_crtc *crtc, unsigned int clock) in dce4_hdmi_audio_set_dto()
288 struct radeon_crtc *crtc, unsigned int clock);
290 struct radeon_crtc *crtc, unsigned int clock) in dce4_dp_audio_set_dto()
H A Dradeon_audio.c73 struct radeon_crtc *crtc, unsigned int clock);
75 struct radeon_crtc *crtc, unsigned int clock);
77 struct radeon_crtc *crtc, unsigned int clock);
79 struct radeon_crtc *crtc, unsigned int clock);
81 struct radeon_crtc *crtc, unsigned int clock);
83 struct radeon_crtc *crtc, unsigned int clock);
505 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); in radeon_audio_set_dto()
667 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_hdmi_set_color_depth() local
668 bpc = radeon_crtc->bpc; in radeon_hdmi_set_color_depth()
H A Devergreen.c1282 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce4_program_fmt() local
1403 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip() local
1426 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip_pending() local
1657 struct radeon_crtc *radeon_crtc; in evergreen_pm_prepare() local
1663 if (radeon_crtc->enabled) { in evergreen_pm_prepare()
1682 struct radeon_crtc *radeon_crtc; in evergreen_pm_finish() local
1688 if (radeon_crtc->enabled) { in evergreen_pm_finish()
1806 struct radeon_crtc *radeon_crtc, in evergreen_line_buffer_adjust() argument
1847 if (radeon_crtc->crtc_id % 2) in evergreen_line_buffer_adjust()
2135 struct radeon_crtc *radeon_crtc, in evergreen_program_watermarks() argument
[all …]
H A Dradeon_mode.h46 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base)
248 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS];
328 struct radeon_crtc { struct
943 struct radeon_crtc *radeon_crtc);
945 struct radeon_crtc *radeon_crtc);
960 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
H A Dr600_dpm.c161 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vblank_time() local
167 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vblank_time()
168 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vblank_time()
170 radeon_crtc->hw_mode.crtc_htotal * in r600_dpm_get_vblank_time()
171 (radeon_crtc->hw_mode.crtc_vblank_end - in r600_dpm_get_vblank_time()
172 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time()
173 (radeon_crtc->v_border * 2)); in r600_dpm_get_vblank_time()
188 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vrefresh() local
193 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vrefresh()
194 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vrefresh()
[all …]
H A Ddce6_afmt.c282 struct radeon_crtc *crtc, unsigned int clock);
284 struct radeon_crtc *crtc, unsigned int clock) in dce6_hdmi_audio_set_dto()
303 struct radeon_crtc *crtc, unsigned int clock);
305 struct radeon_crtc *crtc, unsigned int clock) in dce6_dp_audio_set_dto()
H A Drv770.c803 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip() local
804 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rv770_page_flip()
809 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
812 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rv770_page_flip()
814 if (radeon_crtc->crtc_id) { in rv770_page_flip()
821 WREG32(D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip()
823 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip()
828 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) in rv770_page_flip()
836 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
841 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip_pending() local
[all …]
H A Dradeon_device.c1656 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_suspend_kms() local
1660 if (radeon_crtc->cursor_bo) { in radeon_suspend_kms()
1661 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_suspend_kms()
1793 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_resume_kms() local
1795 if (radeon_crtc->cursor_bo) { in radeon_resume_kms()
1796 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_resume_kms()
1804 (u64 *)&radeon_crtc->cursor_addr); in radeon_resume_kms()
H A Ddce3_1_afmt.c123 struct radeon_crtc *crtc, unsigned int clock);
125 struct radeon_crtc *crtc, unsigned int clock) in dce3_2_audio_set_dto()
H A Dr100.c158 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip() local
191 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip_pending() local
447 struct radeon_crtc *radeon_crtc; in r100_pm_prepare() local
452 radeon_crtc = to_radeon_crtc(crtc); in r100_pm_prepare()
453 if (radeon_crtc->enabled) { in r100_pm_prepare()
454 if (radeon_crtc->crtc_id) { in r100_pm_prepare()
478 struct radeon_crtc *radeon_crtc; in r100_pm_finish() local
484 if (radeon_crtc->enabled) { in r100_pm_finish()
485 if (radeon_crtc->crtc_id) { in r100_pm_finish()
1437 struct radeon_crtc *radeon_crtc; in r100_cs_packet_parse_vline() local
[all …]
H A Dsi.c1958 struct radeon_crtc *radeon_crtc, in dce6_line_buffer_adjust() argument
1977 if (radeon_crtc->base.enabled && mode) { in dce6_line_buffer_adjust()
2002 if (radeon_crtc->base.enabled && mode) { in dce6_line_buffer_adjust()
2285 struct radeon_crtc *radeon_crtc, in dce6_program_watermarks() argument
2332 wm_high.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
2334 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
2359 wm_low.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
2361 if (radeon_crtc->rmx_type != RMX_OFF) in dce6_program_watermarks()
2397 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
2409 c.full = dfixed_mul(c, radeon_crtc->hsc); in dce6_program_watermarks()
[all …]
H A Dradeon_pm.c1734 struct radeon_crtc *radeon_crtc; in radeon_pm_compute_clocks_old() local
1746 radeon_crtc = to_radeon_crtc(crtc); in radeon_pm_compute_clocks_old()
1747 if (radeon_crtc->enabled) { in radeon_pm_compute_clocks_old()
1748 rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); in radeon_pm_compute_clocks_old()
1815 struct radeon_crtc *radeon_crtc; in radeon_pm_compute_clocks_dpm() local
1828 radeon_crtc = to_radeon_crtc(crtc); in radeon_pm_compute_clocks_dpm()
1830 rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id); in radeon_pm_compute_clocks_dpm()
H A Dradeon_audio.h55 struct radeon_crtc *crtc, unsigned int clock);
H A Dcik.c8714 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce8_program_fmt() local
8787 struct radeon_crtc *radeon_crtc, in dce8_line_buffer_adjust() argument
8800 if (radeon_crtc->base.enabled && mode) { in dce8_line_buffer_adjust()
8832 if (radeon_crtc->base.enabled && mode) { in dce8_line_buffer_adjust()
9216 struct radeon_crtc *radeon_crtc, in dce8_program_watermarks() argument
9252 wm_high.vsc = radeon_crtc->vsc; in dce8_program_watermarks()
9254 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
9292 wm_low.vsc = radeon_crtc->vsc; in dce8_program_watermarks()
9294 if (radeon_crtc->rmx_type != RMX_OFF) in dce8_program_watermarks()
9338 radeon_crtc->line_time = line_time; in dce8_program_watermarks()
[all …]
H A Dr600_hdmi.c319 struct radeon_crtc *crtc, unsigned int clock);
321 struct radeon_crtc *crtc, unsigned int clock) in r600_hdmi_audio_set_dto()
H A Drs780_dpm.c53 struct radeon_crtc *radeon_crtc; in rs780_get_pm_mode_parameters() local
63 radeon_crtc = to_radeon_crtc(crtc); in rs780_get_pm_mode_parameters()
64 pi->crtc_id = radeon_crtc->crtc_id; in rs780_get_pm_mode_parameters()

12