|
@@ -443,7 +443,7 @@ int radeon_crtc_do_set_base(struct drm_crtc *crtc,
|
|
(target_fb->bits_per_pixel * 8));
|
|
(target_fb->bits_per_pixel * 8));
|
|
crtc_pitch |= crtc_pitch << 16;
|
|
crtc_pitch |= crtc_pitch << 16;
|
|
|
|
|
|
-
|
|
|
|
|
|
+ crtc_offset_cntl |= RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN;
|
|
if (tiling_flags & RADEON_TILING_MACRO) {
|
|
if (tiling_flags & RADEON_TILING_MACRO) {
|
|
if (ASIC_IS_R300(rdev))
|
|
if (ASIC_IS_R300(rdev))
|
|
crtc_offset_cntl |= (R300_CRTC_X_Y_MODE_EN |
|
|
crtc_offset_cntl |= (R300_CRTC_X_Y_MODE_EN |
|
|
@@ -502,6 +502,7 @@ int radeon_crtc_do_set_base(struct drm_crtc *crtc,
|
|
gen_cntl_val = RREG32(gen_cntl_reg);
|
|
gen_cntl_val = RREG32(gen_cntl_reg);
|
|
gen_cntl_val &= ~(0xf << 8);
|
|
gen_cntl_val &= ~(0xf << 8);
|
|
gen_cntl_val |= (format << 8);
|
|
gen_cntl_val |= (format << 8);
|
|
|
|
+ gen_cntl_val &= ~RADEON_CRTC_VSTAT_MODE_MASK;
|
|
WREG32(gen_cntl_reg, gen_cntl_val);
|
|
WREG32(gen_cntl_reg, gen_cntl_val);
|
|
|
|
|
|
crtc_offset = (u32)base;
|
|
crtc_offset = (u32)base;
|