Merge commit '5359533801e3dd3abca5b7d3d985b0b33fd9fe8b' into drm-core-next
This commit changed an internal radeon structure, that meant a new driver in -next had to be fixed up, merge in the commit and fix up the driver. Also fixes a trivial nouveau merge. Conflicts: drivers/gpu/drm/nouveau/nouveau_mem.c
This commit is contained in:
@@ -443,7 +443,7 @@ int radeon_crtc_do_set_base(struct drm_crtc *crtc,
|
||||
(target_fb->bits_per_pixel * 8));
|
||||
crtc_pitch |= crtc_pitch << 16;
|
||||
|
||||
|
||||
crtc_offset_cntl |= RADEON_CRTC_GUI_TRIG_OFFSET_LEFT_EN;
|
||||
if (tiling_flags & RADEON_TILING_MACRO) {
|
||||
if (ASIC_IS_R300(rdev))
|
||||
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 &= ~(0xf << 8);
|
||||
gen_cntl_val |= (format << 8);
|
||||
gen_cntl_val &= ~RADEON_CRTC_VSTAT_MODE_MASK;
|
||||
WREG32(gen_cntl_reg, gen_cntl_val);
|
||||
|
||||
crtc_offset = (u32)base;
|
||||
|
||||
Reference in New Issue
Block a user