mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
drm/radeon: fix the r100/r200 ums block 0 page fix
commit cf22f20ade upstream.
airlied -> brown paper bag.
I blame Hi-5 or the Wiggles for lowering my IQ, move the fix inside some
brackets instead of breaking everything in site.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6f4de4a36e
commit
5f375bcd1f
@@ -878,9 +878,10 @@ static void radeon_cp_dispatch_clear(struct drm_device * dev,
|
||||
flags |= RADEON_FRONT;
|
||||
}
|
||||
if (flags & (RADEON_DEPTH|RADEON_STENCIL)) {
|
||||
if (!dev_priv->have_z_offset)
|
||||
if (!dev_priv->have_z_offset) {
|
||||
printk_once(KERN_ERR "radeon: illegal depth clear request. Buggy mesa detected - please update.\n");
|
||||
flags &= ~(RADEON_DEPTH | RADEON_STENCIL);
|
||||
flags &= ~(RADEON_DEPTH | RADEON_STENCIL);
|
||||
}
|
||||
}
|
||||
|
||||
if (flags & (RADEON_FRONT | RADEON_BACK)) {
|
||||
|
||||
Reference in New Issue
Block a user