summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/kernel
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-28 16:24:28 -0700
committerEric Anholt <[email protected]>2014-10-28 17:15:36 -0700
commit5539a5b68518914af7e1b97b6a7f57961cdf21f2 (patch)
treeebb945db31519547ac187056aff6d00fe85af17d /src/gallium/drivers/vc4/kernel
parent926ab7dfa54b7f15709455ff4d75746d339ab5a3 (diff)
vc4: Fix mixup of return type in reloc_tex().
Diffstat (limited to 'src/gallium/drivers/vc4/kernel')
-rw-r--r--src/gallium/drivers/vc4/kernel/vc4_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate.c b/src/gallium/drivers/vc4/kernel/vc4_validate.c
index 67bc5f78737..977e071d22d 100644
--- a/src/gallium/drivers/vc4/kernel/vc4_validate.c
+++ b/src/gallium/drivers/vc4/kernel/vc4_validate.c
@@ -778,14 +778,14 @@ reloc_tex(struct exec_info *exec,
if ((p3 & (3 << 30)) == (1 << 30)) {
if (cube_map_stride) {
DRM_ERROR("Cube map stride set twice\n");
- return -EINVAL;
+ return false;
}
cube_map_stride = p3 & 0x3ffff000;
}
if (!cube_map_stride) {
DRM_ERROR("Cube map stride not set\n");
- return -EINVAL;
+ return false;
}
}