Skip to content

Commit

Permalink
Reactivating usage of /dev/dri/renderD128g
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorWalter committed Mar 4, 2024
1 parent e6e2abe commit abebf73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions include/compute_lib/compute_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ int compute_lib_init(compute_lib_instance_t* inst)
inst->initialised = true;
fprintf(stderr, "[ComputeLib]: Initialized.\n");

fprintf(stderr, "[ComputeLib]: Display CLIENT_APIS: %s\n", eglQueryString(inst->dpy, EGL_CLIENT_APIS));
fprintf(stderr, "[ComputeLib]: Display VENDOR: %s\n", eglQueryString(inst->dpy, EGL_VENDOR));
fprintf(stderr, "[ComputeLib]: Display VERSION: %s\n", eglQueryString(inst->dpy, EGL_VERSION));
fprintf(stderr, "[ComputeLib]: Display EXTENSIONS: %s\n", eglQueryString(inst->dpy, EGL_EXTENSIONS));

return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion include/compute_lib/compute_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ typedef struct {
#define COMPUTE_LIB_UNIFORM_NEW(name_) ((compute_lib_uniform_t) {.name = (name_), .location = 0, .size = 0, .type = 0, .index = 0})


#define COMPUTE_LIB_GPU_DRI_PATH "/dev/dri/renderD128XXX"
#define COMPUTE_LIB_GPU_DRI_PATH "/dev/dri/renderD128"
#define COMPUTE_LIB_GPU_DRI_BACKUP_PATH "/dev/dri/card0"
#define COMPUTE_LIB_MAX_INFO_LOG_LEN 4096

Expand Down

0 comments on commit abebf73

Please sign in to comment.