Home
last modified time | relevance | path

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

12

/linux/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
1112 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
1117 radeon_crtc->bpc, radeon_crtc->ss_enabled, &radeon_crtc->ss); in atombios_crtc_set_pll()
1139 radeon_crtc->crtc_id, &radeon_crtc->ss); in atombios_crtc_set_pll()
[all …]
A Dradeon_display.c51 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in avivo_crtc_load_lut() local
89 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce4_crtc_load_lut() local
123 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in dce5_crtc_load_lut() local
195 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in legacy_crtc_load_lut() local
250 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_destroy() local
284 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_vblank() local
365 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in radeon_crtc_handle_flip() local
487 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_crtc_page_flip_target() local
678 struct radeon_crtc *radeon_crtc; in radeon_crtc_init() local
702 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.c121 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip() local
122 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip()
128 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
134 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rs600_page_flip()
157 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip_pending() local
326 struct radeon_crtc *radeon_crtc; in rs600_pm_prepare() local
331 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_prepare()
332 if (radeon_crtc->enabled) { in rs600_pm_prepare()
344 struct radeon_crtc *radeon_crtc; in rs600_pm_finish() local
349 radeon_crtc = to_radeon_crtc(crtc); in rs600_pm_finish()
[all …]
A Dradeon_legacy_encoders.c190 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_lvds_mode_set() local
228 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_lvds_mode_set()
591 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_primary_dac_mode_set() local
597 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_primary_dac_mode_set()
788 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_int_mode_set() local
855 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_int_mode_set()
953 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tmds_ext_mode_set() local
991 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tmds_ext_mode_set()
1159 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_dac_mode_set() local
1236 if (radeon_crtc->crtc_id == 0) { in radeon_legacy_tv_dac_mode_set()
[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 Devergreen_hdmi.h37 struct radeon_crtc;
60 struct radeon_crtc *crtc, unsigned int clock);
62 struct radeon_crtc *crtc, unsigned int clock);
A Dradeon_dp_mst.c332 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_dp_mst_prepare_pll() local
335 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); in radeon_dp_mst_prepare_pll()
344 radeon_crtc->bpc = radeon_connector->base.display_info.bpc; in radeon_dp_mst_prepare_pll()
346 radeon_crtc->bpc = 8; in radeon_dp_mst_prepare_pll()
351 radeon_crtc->ss_enabled = in radeon_dp_mst_prepare_pll()
352 radeon_atombios_get_asic_ss_info(rdev, &radeon_crtc->ss, in radeon_dp_mst_prepare_pll()
367 struct radeon_crtc *radeon_crtc; in radeon_mst_encoder_dpms() local
394 radeon_crtc = to_radeon_crtc(crtc); in radeon_mst_encoder_dpms()
411 mst_enc->fe = radeon_atom_pick_dig_encoder(encoder, radeon_crtc->crtc_id); in radeon_mst_encoder_dpms()
419 dig_enc->linkb, radeon_crtc->crtc_id); in radeon_mst_encoder_dpms()
A Datombios_encoders.c461 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_get_bpc() local
462 bpc = radeon_crtc->bpc; in radeon_atom_get_bpc()
1055 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_dig_transmitter_setup2() local
1056 pll_id = radeon_crtc->pll_id; in atombios_dig_transmitter_setup2()
1543 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_yuv_setup() local
1866 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_set_encoder_crtc_source() local
2013 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_set_mst_encoder_crtc_source() local
2062 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in atombios_apply_encoder_quirks() local
2114 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_atom_pick_dig_encoder() local
2162 enc_idx = radeon_crtc->crtc_id; in radeon_atom_pick_dig_encoder()
[all …]
A Devergreen.c1295 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce4_program_fmt() local
1417 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip() local
1445 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip_pending() local
1676 struct radeon_crtc *radeon_crtc; in evergreen_pm_prepare() local
1682 if (radeon_crtc->enabled) { in evergreen_pm_prepare()
1701 struct radeon_crtc *radeon_crtc; in evergreen_pm_finish() local
1707 if (radeon_crtc->enabled) { in evergreen_pm_finish()
1825 struct radeon_crtc *radeon_crtc, in evergreen_line_buffer_adjust() argument
1866 if (radeon_crtc->crtc_id % 2) in evergreen_line_buffer_adjust()
2154 struct radeon_crtc *radeon_crtc, in evergreen_program_watermarks() argument
[all …]
A Dradeon_legacy_tv.c242 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_get_std_mode() local
247 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); in radeon_legacy_tv_get_std_mode()
248 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_get_std_mode()
533 struct radeon_crtc *radeon_crtc; in radeon_legacy_tv_mode_set() local
550 radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_legacy_tv_mode_set()
596 if (radeon_crtc->crtc_id == 1) in radeon_legacy_tv_mode_set()
599 if (radeon_crtc->rmx_type != RMX_OFF) in radeon_legacy_tv_mode_set()
A Dr600.h34 struct radeon_crtc;
47 struct radeon_crtc *crtc, unsigned int clock);
A Dradeon_mode.h46 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base)
247 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS];
327 struct radeon_crtc { struct
942 struct radeon_crtc *radeon_crtc);
944 struct radeon_crtc *radeon_crtc);
959 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
A Drv770.c812 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip() local
813 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rv770_page_flip()
814 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rv770_page_flip()
819 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
822 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rv770_page_flip()
825 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rv770_page_flip()
828 if (radeon_crtc->crtc_id) { in rv770_page_flip()
837 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip()
850 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rv770_page_flip()
855 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip_pending() local
[all …]
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 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 Dradeon_audio.h55 struct radeon_crtc *crtc, unsigned int clock);
91 struct radeon_crtc *crtc, unsigned int clock);
A Dradeon_device.c1585 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_suspend_kms() local
1589 if (radeon_crtc->cursor_bo) { in radeon_suspend_kms()
1590 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_suspend_kms()
1707 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_resume_kms() local
1709 if (radeon_crtc->cursor_bo) { in radeon_resume_kms()
1710 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_resume_kms()
1718 &radeon_crtc->cursor_addr); in radeon_resume_kms()
A Dr100.c164 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip() local
206 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip_pending() local
462 struct radeon_crtc *radeon_crtc; in r100_pm_prepare() local
467 radeon_crtc = to_radeon_crtc(crtc); in r100_pm_prepare()
468 if (radeon_crtc->enabled) { in r100_pm_prepare()
469 if (radeon_crtc->crtc_id) { in r100_pm_prepare()
493 struct radeon_crtc *radeon_crtc; in r100_pm_finish() local
499 if (radeon_crtc->enabled) { in r100_pm_finish()
500 if (radeon_crtc->crtc_id) { in r100_pm_finish()
1434 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 Dradeon_audio.c437 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); in radeon_audio_set_dto()
595 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_hdmi_set_color_depth() local
596 bpc = radeon_crtc->bpc; in radeon_hdmi_set_color_depth()
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 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 …]

Completed in 92 milliseconds

12