• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/radeon/

Lines Matching refs:radeon_crtc

38 	struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
40 WREG32(RADEON_OVR_CLR + radeon_crtc->crtc_offset, 0);
41 WREG32(RADEON_OVR_WID_LEFT_RIGHT + radeon_crtc->crtc_offset, 0);
42 WREG32(RADEON_OVR_WID_TOP_BOTTOM + radeon_crtc->crtc_offset, 0);
50 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
62 struct drm_display_mode *native_mode = &radeon_crtc->native_mode;
123 switch (radeon_crtc->rmx_type) {
290 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
295 if (radeon_crtc->crtc_id)
307 radeon_crtc->enabled = true;
310 if (radeon_crtc->crtc_id)
317 drm_vblank_post_modeset(dev, radeon_crtc->crtc_id);
323 drm_vblank_pre_modeset(dev, radeon_crtc->crtc_id);
324 if (radeon_crtc->crtc_id)
331 radeon_crtc->enabled = false;
343 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
402 radeon_crtc->legacy_display_base_addr = rdev->mc.vram_start;
404 base -= radeon_crtc->legacy_display_base_addr;
465 if (radeon_crtc->crtc_id == 1)
477 WREG32(RADEON_DISPLAY_BASE_ADDR + radeon_crtc->crtc_offset, radeon_crtc->legacy_display_base_addr);
480 if (radeon_crtc->crtc_id)
485 WREG32(RADEON_CRTC_OFFSET_CNTL + radeon_crtc->crtc_offset, crtc_offset_cntl);
486 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, crtc_offset);
487 WREG32(RADEON_CRTC_PITCH + radeon_crtc->crtc_offset, crtc_pitch);
509 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
527 DRM_INFO("crtc %d is connected to a TV\n", radeon_crtc->crtc_id);
581 if (radeon_crtc->crtc_id) {
656 WREG32(RADEON_CRTC_H_TOTAL_DISP + radeon_crtc->crtc_offset, crtc_h_total_disp);
657 WREG32(RADEON_CRTC_H_SYNC_STRT_WID + radeon_crtc->crtc_offset, crtc_h_sync_strt_wid);
658 WREG32(RADEON_CRTC_V_TOTAL_DISP + radeon_crtc->crtc_offset, crtc_v_total_disp);
659 WREG32(RADEON_CRTC_V_SYNC_STRT_WID + radeon_crtc->crtc_offset, crtc_v_sync_strt_wid);
668 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
704 if (radeon_crtc->crtc_id)
782 if (radeon_crtc->crtc_id) {
969 struct radeon_crtc *radeon_crtc = to_radeon_crtc(crtc);
976 if (radeon_crtc->crtc_id == 0) {
979 if (radeon_crtc->rmx_type != RMX_OFF) {
1025 struct radeon_crtc *radeon_crtc)
1027 if (radeon_crtc->crtc_id == 1)
1028 radeon_crtc->crtc_offset = RADEON_CRTC2_H_TOTAL_DISP - RADEON_CRTC_H_TOTAL_DISP;
1029 drm_crtc_helper_add(&radeon_crtc->base, &legacy_helper_funcs);