Fix shadowfb on big-endian machines.
ok matthieu@
This commit is contained in:
parent
abfe418ba3
commit
1f135a54da
@ -1590,6 +1590,9 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
|
|||||||
tiling_flags |= RADEON_TILING_SWAP_16BIT;
|
tiling_flags |= RADEON_TILING_SWAP_16BIT;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (info->ChipFamily < CHIP_FAMILY_R600 &&
|
||||||
|
info->r600_shadow_fb && tiling_flags)
|
||||||
|
tiling_flags |= RADEON_TILING_SURFACE;
|
||||||
#endif
|
#endif
|
||||||
if (tiling_flags)
|
if (tiling_flags)
|
||||||
radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
|
radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
|
||||||
|
@ -1590,6 +1590,9 @@ static Bool radeon_setup_kernel_mem(ScreenPtr pScreen)
|
|||||||
tiling_flags |= RADEON_TILING_SWAP_16BIT;
|
tiling_flags |= RADEON_TILING_SWAP_16BIT;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (info->ChipFamily < CHIP_FAMILY_R600 &&
|
||||||
|
info->r600_shadow_fb && tiling_flags)
|
||||||
|
tiling_flags |= RADEON_TILING_SURFACE;
|
||||||
#endif
|
#endif
|
||||||
if (tiling_flags)
|
if (tiling_flags)
|
||||||
radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
|
radeon_bo_set_tiling(info->front_bo, tiling_flags, pitch);
|
||||||
|
Loading…
Reference in New Issue
Block a user