OSDN Git Service

drm/i915: Object w/o backing storage is banned by -ENXIO
authorTina Zhang <tina.zhang@intel.com>
Tue, 14 Nov 2017 10:25:12 +0000 (10:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Nov 2017 12:23:42 +0000 (12:23 +0000)
commit274b2462a0493ba73957346fe5fca168e3190b53
tree3af01cb905fd1970aff9fb044b7310740abd3951
parent40c7ae457cf969b2558a8a8f3827e8399e68a986
drm/i915: Object w/o backing storage is banned by -ENXIO

-ENXIO should be returned when operations are banned from changing
backing storage of objects without backing storage.

v4:
- update "Reviewed-by". (Joonas)

v3:
- separate this patch from "Introduce GEM proxy" patch-set. (Joonas)

v2:
- update the patch description and subject to just mention objects w/o
  backing storage, instead of "GEM proxy". (Joonas)

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1510555798-21079-1-git-send-email-tina.zhang@intel.com
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171114102513.22269-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c