| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_cursor.c | 40 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 44 cur_lock = RREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset); 49 WREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 51 cur_lock = RREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset); 56 WREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 58 cur_lock = RREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset); 63 WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, cur_lock); 69 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local 97 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 151 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 289 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 379 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
| radeon_evergreen_hdmi.c | 80 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 81 bpc = radeon_crtc->bpc; 233 struct radeon_crtc *crtc, unsigned int clock) 276 struct radeon_crtc *crtc, unsigned int clock)
|
| radeon_kms.c | 268 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 269 *value = radeon_crtc->crtc_id;
|
| radeon_audio.c | 72 struct radeon_crtc *crtc, unsigned int clock); 74 struct radeon_crtc *crtc, unsigned int clock); 76 struct radeon_crtc *crtc, unsigned int clock); 78 struct radeon_crtc *crtc, unsigned int clock); 80 struct radeon_crtc *crtc, unsigned int clock); 82 struct radeon_crtc *crtc, unsigned int clock); 504 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); 662 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 663 bpc = radeon_crtc->bpc [all...] |
| radeon_dp_mst.c | 362 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 365 struct radeon_encoder *radeon_encoder = to_radeon_encoder(radeon_crtc->encoder); 374 radeon_crtc->bpc = radeon_connector->base.display_info.bpc; 376 radeon_crtc->bpc = 8; 381 radeon_crtc->ss_enabled = 382 radeon_atombios_get_asic_ss_info(rdev, &radeon_crtc->ss, 397 struct radeon_crtc *radeon_crtc; local 424 radeon_crtc = to_radeon_crtc(crtc) [all...] |
| radeon_connectors.c | 758 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 760 radeon_crtc->output_csc = radeon_encoder->output_csc;
|
| radeon_device.c | 1761 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1765 if (radeon_crtc->cursor_bo) { 1766 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1888 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1890 if (radeon_crtc->cursor_bo) { 1891 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1899 &radeon_crtc->cursor_addr);
|
| radeon_legacy_crtc.c | 47 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 49 WREG32(RADEON_OVR_CLR + radeon_crtc->crtc_offset, 0); 50 WREG32(RADEON_OVR_WID_LEFT_RIGHT + radeon_crtc->crtc_offset, 0); 51 WREG32(RADEON_OVR_WID_TOP_BOTTOM + radeon_crtc->crtc_offset, 0); 59 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 71 struct drm_display_mode *native_mode = &radeon_crtc->native_mode; 134 switch (radeon_crtc->rmx_type) { 304 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local 384 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 593 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 753 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1056 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
| radeon_legacy_tv.c | 247 struct radeon_crtc *radeon_crtc; local 252 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); 253 if (radeon_crtc->crtc_id == 1) 538 struct radeon_crtc *radeon_crtc; local 555 radeon_crtc = to_radeon_crtc(encoder->crtc); 601 if (radeon_crtc->crtc_id == 1) 604 if (radeon_crtc->rmx_type != RMX_OFF)
|
| radeon_pm.c | 1684 struct radeon_crtc *radeon_crtc; local 1696 radeon_crtc = to_radeon_crtc(crtc); 1697 if (radeon_crtc->enabled) { 1698 rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); 1757 struct radeon_crtc *radeon_crtc; local 1770 radeon_crtc = to_radeon_crtc(crtc); 1772 rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id);
|
| radeon_rs600.c | 125 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 126 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 131 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 134 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 136 WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 138 WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 143 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) 151 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 156 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id] local 325 struct radeon_crtc *radeon_crtc; local 343 struct radeon_crtc *radeon_crtc; local [all...] |
| radeon_rs780_dpm.c | 59 struct radeon_crtc *radeon_crtc; local 69 radeon_crtc = to_radeon_crtc(crtc); 70 pi->crtc_id = radeon_crtc->crtc_id;
|
| radeon_rv770.c | 815 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 816 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 821 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 824 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 826 if (radeon_crtc->crtc_id) { 833 WREG32(D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 835 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 840 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) 848 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp) 853 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local [all...] |
| radeon_atombios_crtc.c | 50 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 57 args.ucCRTC = radeon_crtc->crtc_id; 59 switch (radeon_crtc->rmx_type) { 80 args.usOverscanRight = cpu_to_le16(radeon_crtc->h_border); 81 args.usOverscanLeft = cpu_to_le16(radeon_crtc->h_border); 82 args.usOverscanBottom = cpu_to_le16(radeon_crtc->v_border); 83 args.usOverscanTop = cpu_to_le16(radeon_crtc->v_border); 93 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc) local 175 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 192 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 208 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 234 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 259 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 277 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 311 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 358 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 566 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 970 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1070 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1153 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1476 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1717 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1806 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1885 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2066 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2109 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2167 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
| radeon_atombios_encoders.c | 469 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 470 bpc = radeon_crtc->bpc; 1063 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1064 pll_id = radeon_crtc->pll_id; 1551 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1567 (radeon_crtc->crtc_id << 18))); 1569 WREG32(reg, (ATOM_S3_CV_ACTIVE | (radeon_crtc->crtc_id << 24))) 1874 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 2021 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 2070 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 2122 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local [all...] |
| radeon_display.c | 55 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 61 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); 62 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); 64 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); 65 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); 66 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); 68 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); 69 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); 70 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_RED + radeon_crtc->crtc_offset, 0xffff) 93 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 127 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 199 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 254 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 291 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 372 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 419 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[work->crtc_id]; local 494 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 681 struct radeon_crtc *radeon_crtc; local 1687 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
| radeon_legacy_encoders.c | 194 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 232 if (radeon_crtc->crtc_id == 0) { 253 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 255 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 595 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 601 if (radeon_crtc->crtc_id == 0) { 641 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 643 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id) 792 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 957 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1163 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1552 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
| radeon_r600_dpm.c | 165 struct radeon_crtc *radeon_crtc; local 171 radeon_crtc = to_radeon_crtc(crtc); 172 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { 174 radeon_crtc->hw_mode.crtc_htotal * 175 (radeon_crtc->hw_mode.crtc_vblank_end - 176 radeon_crtc->hw_mode.crtc_vdisplay + 177 (radeon_crtc->v_border * 2)); 179 vblank_time_us = vblank_in_pixels * 1000 / radeon_crtc->hw_mode.clock 192 struct radeon_crtc *radeon_crtc; local [all...] |
| radeon_r600.c | 308 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 353 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp);
|
| radeon_r600_cs.c | 833 struct radeon_crtc *radeon_crtc; local 898 radeon_crtc = to_radeon_crtc(crtc); 899 crtc_id = radeon_crtc->crtc_id;
|
| radeon_evergreen.c | 1305 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1353 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); 1426 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 1429 WREG32(EVERGREEN_GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 1431 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS_HIGH + radeon_crtc->crtc_offset, 1433 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 1436 RREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset); 1449 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id] local 1680 struct radeon_crtc *radeon_crtc; local 1705 struct radeon_crtc *radeon_crtc; local [all...] |
| radeon_r100.c | 169 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 175 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 179 if (RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET) 187 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 202 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 205 return !!(RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & 458 struct radeon_crtc *radeon_crtc; local 489 struct radeon_crtc *radeon_crtc; local 1446 struct radeon_crtc *radeon_crtc; local [all...] |
| radeon_mode.h | 48 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base) 249 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS]; 329 struct radeon_crtc { struct 938 struct radeon_crtc *radeon_crtc); 940 struct radeon_crtc *radeon_crtc); 955 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
|
| radeon_cik.c | 8811 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 8867 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); 8875 * @radeon_crtc: the selected display controller 8884 struct radeon_crtc *radeon_crtc, 8888 u32 pipe_offset = radeon_crtc->crtc_id * 0x20; 8897 if (radeon_crtc->base.enabled && mode) { 8917 WREG32(LB_MEMORY_CTRL + radeon_crtc->crtc_offset, 8929 if (radeon_crtc->base.enabled && mode) [all...] |
| radeon_si_dpm.c | 5322 struct radeon_crtc *radeon_crtc = NULL; local 5330 radeon_crtc = rdev->mode_info.crtcs[i]; 5335 if (radeon_crtc == NULL) 5338 if (radeon_crtc->line_time <= 0) 5343 radeon_crtc->crtc_id) != PPSMC_Result_OK) 5348 radeon_crtc->wm_high / radeon_crtc->line_time) != PPSMC_Result_OK) 5353 radeon_crtc->wm_low / radeon_crtc->line_time) != PPSMC_Result_OK [all...] |