/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_cursor.c | 35 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 39 cur_lock = RREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset); 44 WREG32(EVERGREEN_CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 46 cur_lock = RREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset); 51 WREG32(AVIVO_D1CUR_UPDATE + radeon_crtc->crtc_offset, cur_lock); 53 cur_lock = RREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset); 58 WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, cur_lock); 64 struct radeon_crtc *radeon_crtc local 92 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 146 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 284 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 374 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
H A D | atombios_crtc.c | 44 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 51 args.ucCRTC = radeon_crtc->crtc_id; 53 switch (radeon_crtc->rmx_type) { 74 args.usOverscanRight = cpu_to_le16(radeon_crtc->h_border); 75 args.usOverscanLeft = cpu_to_le16(radeon_crtc->h_border); 76 args.usOverscanBottom = cpu_to_le16(radeon_crtc->v_border); 77 args.usOverscanTop = cpu_to_le16(radeon_crtc->v_border); 87 struct radeon_crtc *radeon_crtc local 169 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 186 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 202 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 228 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 253 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 271 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 305 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 352 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 560 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 957 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1055 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1138 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1459 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1697 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1785 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1864 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2045 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2088 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2146 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 2225 radeon_atombios_init_crtc(struct drm_device *dev, struct radeon_crtc *radeon_crtc) argument [all...] |
H A D | radeon_display.c | 51 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 57 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); 58 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); 60 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); 61 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); 62 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); 64 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); 65 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); 66 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_RED + radeon_crtc 89 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 123 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 195 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 250 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 284 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 365 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 412 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[work->crtc_id]; local 487 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 684 struct radeon_crtc *radeon_crtc; local 1692 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [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 | r600.h | 34 struct radeon_crtc; 47 struct radeon_crtc *crtc, unsigned int clock);
|
H A D | radeon_legacy_crtc.c | 42 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 44 WREG32(RADEON_OVR_CLR + radeon_crtc->crtc_offset, 0); 45 WREG32(RADEON_OVR_WID_LEFT_RIGHT + radeon_crtc->crtc_offset, 0); 46 WREG32(RADEON_OVR_WID_TOP_BOTTOM + radeon_crtc->crtc_offset, 0); 54 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 66 struct drm_display_mode *native_mode = &radeon_crtc->native_mode; 129 switch (radeon_crtc->rmx_type) { 299 struct radeon_crtc *radeon_crt local 379 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 577 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 737 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1040 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1119 radeon_legacy_init_crtc(struct drm_device *dev, struct radeon_crtc *radeon_crtc) argument [all...] |
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 | rs600.c | 121 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 122 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; 123 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 128 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 131 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 134 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, 137 WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 139 WREG32(AVIVO_D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 144 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc 157 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 326 struct radeon_crtc *radeon_crtc; local 344 struct radeon_crtc *radeon_crtc; local [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 | radeon_legacy_encoders.c | 192 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 230 if (radeon_crtc->crtc_id == 0) { 251 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 253 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 583 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 589 if (radeon_crtc->crtc_id == 0) { 629 radeon_atombios_encoder_crtc_scratch_regs(encoder, radeon_crtc->crtc_id); 631 radeon_combios_encoder_crtc_scratch_regs(encoder, radeon_crtc 780 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 945 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1151 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1540 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local [all...] |
H A D | atombios_encoders.c | 457 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 458 bpc = radeon_crtc->bpc; 1043 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1044 pll_id = radeon_crtc->pll_id; 1531 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1547 (radeon_crtc->crtc_id << 18))); 1549 WREG32(reg, (ATOM_S3_CV_ACTIVE | (radeon_crtc 1850 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1999 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 2051 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local [all...] |
H A D | evergreen_hdmi.c | 77 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 78 bpc = radeon_crtc->bpc; 230 struct radeon_crtc *crtc, unsigned int clock) 273 struct radeon_crtc *crtc, unsigned int clock)
|
H A D | radeon_legacy_tv.c | 241 struct radeon_crtc *radeon_crtc; local 246 radeon_crtc = to_radeon_crtc(radeon_encoder->base.crtc); 247 if (radeon_crtc->crtc_id == 1) 532 struct radeon_crtc *radeon_crtc; local 549 radeon_crtc = to_radeon_crtc(encoder->crtc); 595 if (radeon_crtc->crtc_id == 1) 598 if (radeon_crtc->rmx_type != RMX_OFF)
|
H A D | radeon_mode.h | 45 #define to_radeon_crtc(x) container_of(x, struct radeon_crtc, base) 244 struct radeon_crtc *crtcs[RADEON_MAX_CRTCS]; 318 struct radeon_crtc { struct 899 struct radeon_crtc *radeon_crtc); 901 struct radeon_crtc *radeon_crtc); 916 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc);
|
H A D | r600_dpm.c | 158 struct radeon_crtc *radeon_crtc; local 164 radeon_crtc = to_radeon_crtc(crtc); 165 if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) { 167 radeon_crtc->hw_mode.crtc_htotal * 168 (radeon_crtc->hw_mode.crtc_vblank_end - 169 radeon_crtc->hw_mode.crtc_vdisplay + 170 (radeon_crtc->v_border * 2)); 172 vblank_time_us = vblank_in_pixels * 1000 / radeon_crtc 185 struct radeon_crtc *radeon_crtc; local [all...] |
H A D | evergreen.c | 1297 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 1345 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); 1419 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 1420 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; 1423 WREG32(EVERGREEN_GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 1426 WREG32(EVERGREEN_GRPH_PITCH + radeon_crtc->crtc_offset, 1429 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS_HIGH + radeon_crtc->crtc_offset, 1431 WREG32(EVERGREEN_GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc 1447 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 1678 struct radeon_crtc *radeon_crtc; local 1703 struct radeon_crtc *radeon_crtc; local 1826 evergreen_line_buffer_adjust(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc, struct drm_display_mode *mode, struct drm_display_mode *other_mode) argument 2155 evergreen_program_watermarks(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc, u32 lb_size, u32 num_heads) argument [all...] |
H A D | radeon_device.c | 1577 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1581 if (radeon_crtc->cursor_bo) { 1582 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1702 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc); local 1704 if (radeon_crtc->cursor_bo) { 1705 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); 1713 &radeon_crtc->cursor_addr);
|
H A D | dce6_afmt.c | 271 struct radeon_crtc *crtc, unsigned int clock) 290 struct radeon_crtc *crtc, unsigned int clock)
|
H A D | r100.c | 165 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 167 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; 173 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 180 WREG32(RADEON_CRTC_PITCH + radeon_crtc->crtc_offset, crtc_pitch); 184 if (RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET) 192 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); 207 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 210 return !!(RREG32(RADEON_CRTC_OFFSET + radeon_crtc 463 struct radeon_crtc *radeon_crtc; local 494 struct radeon_crtc *radeon_crtc; local 1435 struct radeon_crtc *radeon_crtc; local [all...] |
H A D | rv770.c | 802 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local 803 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; 804 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); 809 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); 812 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, 815 WREG32(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, 818 if (radeon_crtc->crtc_id) { 825 WREG32(D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, 827 WREG32(D1GRPH_PRIMARY_SURFACE_ADDRESS + radeon_crtc 845 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; local [all...] |
H A D | radeon_pm.c | 1696 struct radeon_crtc *radeon_crtc; local 1708 radeon_crtc = to_radeon_crtc(crtc); 1709 if (radeon_crtc->enabled) { 1710 rdev->pm.active_crtcs |= (1 << radeon_crtc->crtc_id); 1769 struct radeon_crtc *radeon_crtc; local 1784 radeon_crtc = to_radeon_crtc(crtc); 1786 rdev->pm.dpm.new_active_crtcs |= (1 << radeon_crtc->crtc_id); 1788 if (!radeon_crtc [all...] |
H A D | si.c | 1948 struct radeon_crtc *radeon_crtc, 1953 u32 pipe_offset = radeon_crtc->crtc_id * 0x20; 1967 if (radeon_crtc->base.enabled && mode) { 1980 WREG32(DC_LB_MEMORY_SPLIT + radeon_crtc->crtc_offset, 1992 if (radeon_crtc->base.enabled && mode) { 2275 struct radeon_crtc *radeon_crtc, 2278 struct drm_display_mode *mode = &radeon_crtc->base.mode; 2290 if (radeon_crtc 1947 dce6_line_buffer_adjust(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc, struct drm_display_mode *mode, struct drm_display_mode *other_mode) argument 2274 dce6_program_watermarks(struct radeon_device *rdev, struct radeon_crtc *radeon_crtc, u32 lb_size, u32 num_heads) argument [all...] |
H A D | rs780_dpm.c | 54 struct radeon_crtc *radeon_crtc; local 64 radeon_crtc = to_radeon_crtc(crtc); 65 pi->crtc_id = radeon_crtc->crtc_id;
|
H A D | dce3_1_afmt.c | 118 struct radeon_crtc *crtc, unsigned int clock)
|
H A D | radeon_audio.c | 443 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); 601 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); local 602 bpc = radeon_crtc->bpc;
|