summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2020-04-24 10:55:42 +0300
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2020-07-23 18:00:06 +0300
commitde5d28561538639a3a1b0857b5d41c7b11290944 (patch)
tree0db132166120ad3a4433cce1ad74943fa03f6d22 /run.c
parent894b4f643b84783931d15b66dcb15288658e90cf (diff)
Drop all intel setup code
We would like to switch to a drm-shim stub much like they other drivers [1]. Therefore we won't need any stubbing code in this repository. You should run shader_db like this (for TGL platform) : intel_stub_gpu -p tgl ./run shaders/chromeos/ [1] : https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4594 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'run.c')
-rw-r--r--run.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/run.c b/run.c
index 8b14b18..199c620 100644
--- a/run.c
+++ b/run.c
@@ -447,7 +447,7 @@ main(int argc, char **argv)
max_threads = omp_get_max_threads();
- while ((opt = getopt(argc, argv, "d:j:o:p:b")) != -1) {
+ while ((opt = getopt(argc, argv, "d:j:o:b")) != -1) {
switch(opt) {
case 'd': {
char *endptr;
@@ -463,10 +463,6 @@ main(int argc, char **argv)
printf("### Overriding driver for %s ###\n", optarg);
setenv("MESA_LOADER_DRIVER_OVERRIDE", optarg, 1);
break;
- case 'p':
- printf("### Compiling for %s ###\n", optarg);
- setenv("INTEL_DEVID_OVERRIDE", optarg, 1);
- break;
case 'j':
max_threads = atoi(optarg);
omp_set_num_threads(max_threads);