diff options
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index 09cb93ae669..505fe1d56ec 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1741,7 +1741,7 @@ radeondrm_attachhook(void *xsc) drm_fb_helper_restore(); ri->ri_flg = RI_CENTER | RI_VCONS | RI_WRONLY; -#ifdef __BIG_ENDIAN +#ifdef __sparc64__ ri->ri_flg |= RI_BSWAP; #endif rasops_init(ri, 160, 160); |