]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/lima/lima_gem.c
Merge tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm
[linux.git] / drivers / gpu / drm / lima / lima_gem.c
index ff3d9acc24fcf145d35621e620afefda9a30f98b..4da21353c3a20b5379a6e4ef74915538b5f351fe 100644 (file)
@@ -342,7 +342,7 @@ int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns)
        timeout = drm_timeout_abs_to_jiffies(timeout_ns);
 
        ret = drm_gem_dma_resv_wait(file, handle, write, timeout);
-       if (ret == 0)
+       if (ret == -ETIME)
                ret = timeout ? -ETIMEDOUT : -EBUSY;
 
        return ret;
This page took 0.034735 seconds and 4 git commands to generate.