Lines Matching defs:radeon_crtc
802 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id];
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->crtc_offset,
832 if (RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING)
840 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp);
845 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id];
848 return !!(RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset) &