| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_cursor.c | 35 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_lock_cursor() local 39 cur_lock = RREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset); in radeon_lock_cursor() 44 WREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); in radeon_lock_cursor() 46 cur_lock = RREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset); in radeon_lock_cursor() 51 WREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); in radeon_lock_cursor() 53 cur_lock = RREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset); in radeon_lock_cursor() 58 WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, cur_lock); in radeon_lock_cursor() 64 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_hide_cursor() local 68 WREG32_IDX(EVERGREEN_CUR_CONTROL + radeon_crtc->crtc_offset, in radeon_hide_cursor() 72 WREG32_IDX(AVIVO_D1CUR_CONTROL + radeon_crtc->crtc_offset, in radeon_hide_cursor() [all …]
|
| H A D | atombios_crtc.c | 44 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in atombios_overscan_setup() local 51 args.ucCRTC = radeon_crtc->crtc_id; in atombios_overscan_setup() 53 switch (radeon_crtc->rmx_type) { in atombios_overscan_setup() 74 args.usOverscanRight = cpu_to_le16(radeon_crtc->h_border); in atombios_overscan_setup() 75 args.usOverscanLeft = cpu_to_le16(radeon_crtc->h_border); in atombios_overscan_setup() 76 args.usOverscanBottom = cpu_to_le16(radeon_crtc->v_border); in atombios_overscan_setup() 77 args.usOverscanTop = cpu_to_le16(radeon_crtc->v_border); in atombios_overscan_setup() 87 struct radeon_crtc *radeon_crtc in atombios_scaler_setup() local 169 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_lock_crtc() local 186 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_enable_crtc() local 202 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_enable_crtc_memreq() local 228 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_blank_crtc() local 253 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_powergate_crtc() local 271 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_dpms() local 305 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_set_crtc_dtd_timing() local 352 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_set_timing() local 560 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_adjust_pll() local 957 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_prepare_pll() local 1055 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_set_pll() local 1138 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); dce4_crtc_do_set_base() local 1459 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); avivo_crtc_do_set_base() local 1697 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_legacy_atom_fixup() local 1785 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_get_shared_nondp_ppll() local 1864 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_atom_pick_pll() local 2045 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_mode_set() local 2088 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_mode_fixup() local 2146 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); atombios_crtc_disable() local 2226 radeon_atombios_init_crtc(struct drm_device * dev,struct radeon_crtc * radeon_crtc) radeon_atombios_init_crtc() argument [all...] |
| H A D | radeon_legacy_crtc.c | 42 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_overscan_setup() local 44 WREG32(RADEON_OVR_CLR + radeon_crtc->crtc_offset, 0); in radeon_overscan_setup() 45 WREG32(RADEON_OVR_WID_LEFT_RIGHT + radeon_crtc->crtc_offset, 0); in radeon_overscan_setup() 46 WREG32(RADEON_OVR_WID_TOP_BOTTOM + radeon_crtc->crtc_offset, 0); in radeon_overscan_setup() 54 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); in radeon_legacy_rmx_mode_set() local 66 struct drm_display_mode *native_mode = &radeon_crtc->native_mode; in radeon_legacy_rmx_mode_set() 129 switch (radeon_crtc->rmx_type) { in radeon_legacy_rmx_mode_set() 299 struct radeon_crtc *radeon_crt in radeon_crtc_dpms() local 379 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_crtc_do_set_base() local 577 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_set_crtc_timing() local 737 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_set_pll() local 1040 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); radeon_crtc_mode_set() local 1120 radeon_legacy_init_crtc(struct drm_device * dev,struct radeon_crtc * radeon_crtc) radeon_legacy_init_crtc() argument [all...] |
| H A D | rs600.c | 121 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() 123 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip() 128 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip() 131 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rs600_page_flip() 134 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rs600_page_flip() 137 WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rs600_page_flip() 139 WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rs600_page_flip() 144 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) in rs600_page_flip() 152 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip() [all …]
|
| H A D | dce6_afmt.h | 32 struct radeon_crtc; 48 struct radeon_crtc *crtc, unsigned int clock); 50 struct radeon_crtc *crtc, unsigned int clock);
|
| H A D | evergreen_hdmi.h | 37 struct radeon_crtc; 60 struct radeon_crtc *crtc, unsigned int clock); 62 struct radeon_crtc *crtc, unsigned int clock);
|
| H A D | r600.h | 34 struct radeon_crtc; 47 struct radeon_crtc *crtc, unsigned int clock);
|
| H A D | evergreen.c | 1297 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce4_program_fmt() local 1345 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); in dce4_program_fmt() 1419 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in evergreen_page_flip() local 1420 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in evergreen_page_flip() 1423 WREG32(EVERGREEN_GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in evergreen_page_flip() 1426 WREG32(EVERGREEN_GRPH_PITCH + radeon_crtc->crtc_offset, in evergreen_page_flip() 1429 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS_HIGH + radeon_crtc->crtc_offset, in evergreen_page_flip() 1431 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc in evergreen_page_flip() 1447 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; evergreen_page_flip_pending() local 1678 struct radeon_crtc *radeon_crtc; evergreen_pm_prepare() local 1703 struct radeon_crtc *radeon_crtc; evergreen_pm_finish() local 1827 evergreen_line_buffer_adjust(struct radeon_device * rdev,struct radeon_crtc * radeon_crtc,struct drm_display_mode * mode,struct drm_display_mode * other_mode) evergreen_line_buffer_adjust() argument 2156 evergreen_program_watermarks(struct radeon_device * rdev,struct radeon_crtc * radeon_crtc,u32 lb_size,u32 num_heads) evergreen_program_watermarks() argument [all...] |
| H A D | radeon_legacy_tv.c | 241 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()
|
| H A D | radeon_mode.h | 50 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base) 249 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS]; 322 struct radeon_crtc { struct 894 struct radeon_crtc *radeon_crtc); 896 struct radeon_crtc *radeon_crtc); 911 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc); 323 baseradeon_crtc global() argument 324 crtc_idradeon_crtc global() argument 325 enabledradeon_crtc global() argument 326 can_tileradeon_crtc global() argument 327 cursor_out_of_boundsradeon_crtc global() argument 328 crtc_offsetradeon_crtc global() argument 329 cursor_boradeon_crtc global() argument 330 cursor_addrradeon_crtc global() argument 331 cursor_xradeon_crtc global() argument 332 cursor_yradeon_crtc global() argument 333 cursor_hot_xradeon_crtc global() argument 334 cursor_hot_yradeon_crtc global() argument 335 cursor_widthradeon_crtc global() argument 336 cursor_heightradeon_crtc global() argument 337 max_cursor_widthradeon_crtc global() argument 338 max_cursor_heightradeon_crtc global() argument 339 legacy_display_base_addrradeon_crtc global() argument 340 rmx_typeradeon_crtc global() argument 341 h_borderradeon_crtc global() argument 342 v_borderradeon_crtc global() argument 343 vscradeon_crtc global() argument 344 hscradeon_crtc global() argument 345 native_moderadeon_crtc global() argument 346 pll_idradeon_crtc global() argument 348 flip_queueradeon_crtc global() argument 349 flip_workradeon_crtc global() argument 350 flip_statusradeon_crtc global() argument 352 ssradeon_crtc global() argument 353 ss_enabledradeon_crtc global() argument 354 adjusted_clockradeon_crtc global() argument 355 bpcradeon_crtc global() argument 356 pll_reference_divradeon_crtc global() argument 357 pll_post_divradeon_crtc global() argument 358 pll_flagsradeon_crtc global() argument 359 encoderradeon_crtc global() argument 360 connectorradeon_crtc global() argument 362 line_timeradeon_crtc global() argument 363 wm_lowradeon_crtc global() argument 364 wm_highradeon_crtc global() argument 365 lb_vblank_lead_linesradeon_crtc global() argument 366 hw_moderadeon_crtc global() argument 367 output_cscradeon_crtc global() argument
|
| H A D | rv770.c | 802 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rv770_page_flip() local 803 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rv770_page_flip() 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() 815 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, in rv770_page_flip() 818 if (radeon_crtc->crtc_id) { in rv770_page_flip() 825 WREG32(D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip() 827 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rv770_page_flip() 832 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) in rv770_page_flip() [all …]
|
| H A D | evergreen_hdmi.c | 77 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr() local 78 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr() 230 struct radeon_crtc *crtc, unsigned int clock) in dce4_hdmi_audio_set_dto() 273 struct radeon_crtc *crtc, unsigned int clock) in dce4_dp_audio_set_dto()
|
| H A D | r600_dpm.c | 158 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vblank_time() local 164 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vblank_time() 165 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { in r600_dpm_get_vblank_time() 167 radeon_crtc->hw_mode.crtc_htotal * in r600_dpm_get_vblank_time() 168 (radeon_crtc->hw_mode.crtc_vblank_end - in r600_dpm_get_vblank_time() 169 radeon_crtc->hw_mode.crtc_vdisplay + in r600_dpm_get_vblank_time() 170 (radeon_crtc->v_border * 2)); in r600_dpm_get_vblank_time() 172 vblank_time_us = vblank_in_pixels * 1000 / radeon_crtc->hw_mode.clock; in r600_dpm_get_vblank_time() 185 struct radeon_crtc *radeon_crtc; in r600_dpm_get_vrefresh() local 190 radeon_crtc = to_radeon_crtc(crtc); in r600_dpm_get_vrefresh() [all …]
|
| H A D | radeon_audio.h | 55 struct radeon_crtc *crtc, unsigned int clock); 91 struct radeon_crtc *crtc, unsigned int clock);
|
| H A D | dce6_afmt.c | 271 struct radeon_crtc *crtc, unsigned int clock) in dce6_hdmi_audio_set_dto() 290 struct radeon_crtc *crtc, unsigned int clock) in dce6_dp_audio_set_dto()
|
| H A D | radeon_audio.c | 444 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); in radeon_audio_set_dto() 602 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in radeon_hdmi_set_color_depth() local 603 bpc = radeon_crtc->bpc; in radeon_hdmi_set_color_depth()
|
| H A D | dce3_1_afmt.c | 118 struct radeon_crtc *crtc, unsigned int clock) in dce3_2_audio_set_dto()
|
| H A D | rs780_dpm.c | 54 struct radeon_crtc *radeon_crtc; in rs780_get_pm_mode_parameters() local 64 radeon_crtc = to_radeon_crtc(crtc); in rs780_get_pm_mode_parameters() 65 pi->crtc_id = radeon_crtc->crtc_id; in rs780_get_pm_mode_parameters()
|
| H A D | si_dpm.c | 5255 struct radeon_crtc *radeon_crtc = NULL; in si_upload_smc_data() local 5263 radeon_crtc = rdev->mode_info.crtcs[i]; in si_upload_smc_data() 5268 if (radeon_crtc == NULL) in si_upload_smc_data() 5271 if (radeon_crtc->line_time <= 0) in si_upload_smc_data() 5276 radeon_crtc->crtc_id) != PPSMC_Result_OK) in si_upload_smc_data() 5281 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data() 5286 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK) in si_upload_smc_data()
|
| H A D | rv515.c | 680 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *crtc) in atom_rv515_force_tv_scaler() 924 struct radeon_crtc *crtc, in rv515_crtc_bandwidth_compute()
|
| H A D | rs690.c | 273 struct radeon_crtc *crtc, in rs690_crtc_bandwidth_compute()
|
| H A D | r600.c | 301 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in dce3_program_fmt() local 346 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); in dce3_program_fmt()
|