diff options
author | Rob Clark <robdclark@gmail.com> | 2013-09-12 01:34:07 +0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2013-09-12 01:36:28 +0400 |
commit | f816f272437f3a2be0c9254d4ab8f917950d86a0 (patch) | |
tree | 60a194cabed7ef5f367865d62daa99a62f5f6cf4 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8 (diff) | |
download | linux-f816f272437f3a2be0c9254d4ab8f917950d86a0.tar.xz |
drm/msm: return -EBUSY if bo still active
When we CPU_PREP a bo with NOSYNC flag (for example, to implement
PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE), an -EBUSY return indicates to
userspace that the bo is still busy. Previously it was incorrectly
returning 0 in this case.
And while we're in there throw in an bit of extra sanity checking in
case userspace tries to wait for a bogus fence.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions