mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
drm/i915: convert DRM_ERROR to DRM_DEBUG in phys object pwrite path
This snuck in when I wrote phys object support. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
dd0910b3c7
commit
e08fb4f6d1
@ -3548,7 +3548,7 @@ i915_gem_phys_pwrite(struct drm_device *dev, struct drm_gem_object *obj,
|
|||||||
user_data = (char __user *) (uintptr_t) args->data_ptr;
|
user_data = (char __user *) (uintptr_t) args->data_ptr;
|
||||||
obj_addr = obj_priv->phys_obj->handle->vaddr + args->offset;
|
obj_addr = obj_priv->phys_obj->handle->vaddr + args->offset;
|
||||||
|
|
||||||
DRM_ERROR("obj_addr %p, %lld\n", obj_addr, args->size);
|
DRM_DEBUG("obj_addr %p, %lld\n", obj_addr, args->size);
|
||||||
ret = copy_from_user(obj_addr, user_data, args->size);
|
ret = copy_from_user(obj_addr, user_data, args->size);
|
||||||
if (ret)
|
if (ret)
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
|
Loading…
Reference in New Issue
Block a user