Commit 7690df44 authored by Dave Airlie's avatar Dave Airlie

drm: fix bug introduced in the macro removal

This caused issues with a PCI radeon card.

From: Jon Smirl
Approved-by: default avatarDave Airlie <airlied@linux.ie>
parent 5c5b9c24
......@@ -73,7 +73,7 @@ int DRM(sg_alloc)( struct inode *inode, struct file *filp,
DRM_DEBUG( "%s\n", __FUNCTION__ );
if (drm_core_check_feature(dev, DRIVER_SG))
if (!drm_core_check_feature(dev, DRIVER_SG))
return -EINVAL;
if ( dev->sg )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment