Subversion Repositories Kolibri OS

Rev

Rev 5354 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5354 Rev 6104
Line 105... Line 105...
105
            WREG32(R700_D1CUR_SURFACE_ADDRESS_HIGH, 0);
105
            WREG32(R700_D1CUR_SURFACE_ADDRESS_HIGH, 0);
106
        WREG32(AVIVO_D1CUR_SURFACE_ADDRESS + radeon_crtc->crtc_offset, gpu_addr);
106
        WREG32(AVIVO_D1CUR_SURFACE_ADDRESS + radeon_crtc->crtc_offset, gpu_addr);
107
    }
107
    }
108
    else {
108
    else {
109
        radeon_crtc->legacy_cursor_offset = gpu_addr - rdev->mc.vram_start;
109
        radeon_crtc->legacy_display_base_addr = gpu_addr - rdev->mc.vram_start;
110
        /* offset is from DISP(2)_BASE_ADDRESS */
110
        /* offset is from DISP(2)_BASE_ADDRESS */
111
        WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, radeon_crtc->legacy_cursor_offset);
111
        WREG32(RADEON_CUR_OFFSET + radeon_crtc->crtc_offset, radeon_crtc->legacy_display_base_addr);
112
    }
112
    }
113
 
113
 
Line 114... Line 114...
114
    return old;
114
    return old;
115
};
115
};
Line 241... Line 241...
241
 
241
 
Line 242... Line 242...
242
    hdisplay = mode->hdisplay;
242
    hdisplay = mode->hdisplay;
243
    vdisplay = mode->vdisplay;
243
    vdisplay = mode->vdisplay;
Line 244... Line -...
244
 
-
 
245
    if (crtc->invert_dimensions)
-
 
246
        swap(hdisplay, vdisplay);
-
 
247
 
244
 
Line 248... Line 245...
248
    fb = main_fb;
245
    fb = main_fb;
249
 
246