projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
272fe94
)
broadcom/vc4: Fix simulator mode for the MADVISE usage.
author
Eric Anholt
<eric@anholt.net>
Thu, 9 Nov 2017 23:51:56 +0000
(15:51 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 9 Nov 2017 23:51:56 +0000
(15:51 -0800)
src/gallium/drivers/vc4/vc4_simulator.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_simulator.c
b/src/gallium/drivers/vc4/vc4_simulator.c
index a73e409694c4184cc3a89515a5c37ea33ad1ee0a..3afb16e1fcf252db1bc4c93a5256712fede8ce91 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_simulator.c
+++ b/
src/gallium/drivers/vc4/vc4_simulator.c
@@
-619,6
+619,10
@@
vc4_simulator_get_param_ioctl(int fd, struct drm_vc4_get_param *args)
args->value = true;
return 0;
+ case DRM_VC4_PARAM_SUPPORTS_MADVISE:
+ errno = -EINVAL;
+ return -1;
+
case DRM_VC4_PARAM_V3D_IDENT0:
args->value = 0x02000000;
return 0;