Fix some obvious bugs.
parent
b6b5df24b9
commit
f984b1b8d1
|
@ -1716,13 +1716,13 @@ int drm_bo_op_ioctl(DRM_IOCTL_ARGS)
|
||||||
&rep);
|
&rep);
|
||||||
break;
|
break;
|
||||||
case drm_bo_fence:
|
case drm_bo_fence:
|
||||||
ret = drm_bo_lock_test(dev, filp);
|
ret = -EINVAL;
|
||||||
if (ret)
|
DRM_ERROR("Function is not implemented yet.\n");
|
||||||
break;
|
|
||||||
break;
|
break;
|
||||||
case drm_bo_ref_fence:
|
case drm_bo_ref_fence:
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
DRM_ERROR("Function is not implemented yet.\n");
|
DRM_ERROR("Function is not implemented yet.\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -733,7 +733,7 @@ typedef struct drm_fence_arg {
|
||||||
/* Mask: Make sure the buffer is in cached memory when mapped for reading.
|
/* Mask: Make sure the buffer is in cached memory when mapped for reading.
|
||||||
* Flags: Acknowledge.
|
* Flags: Acknowledge.
|
||||||
*/
|
*/
|
||||||
#define DRM_BO_FLAG_READ_CACHED (1ULL << 16)
|
#define DRM_BO_FLAG_READ_CACHED (1ULL << 19)
|
||||||
|
|
||||||
/* Mask: Force DRM_BO_FLAG_CACHED flag strictly also if it is set.
|
/* Mask: Force DRM_BO_FLAG_CACHED flag strictly also if it is set.
|
||||||
* Flags: Acknowledge.
|
* Flags: Acknowledge.
|
||||||
|
|
Loading…
Reference in New Issue