Skip to content

Commit

Permalink
Update freedreno_screen.c
Browse files Browse the repository at this point in the history
more patches
  • Loading branch information
SolDev69 authored Nov 24, 2023
1 parent 736dbdd commit 52593ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gallium/drivers/freedreno/freedreno_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1326,11 +1326,13 @@ fd_screen_create(int fd,
printf("piping dev id\n");
screen->dev_id = fd_pipe_dev_id(screen->pipe);
printf("dev id pipe done\n");
printf("get gpu id\n");
if (kgsl_pipe_get_param(screen->pipe, FD_GPU_ID, &val)) {
printf("could not get gpu-id\n");
//goto fail;
goto fail;
}
screen->gpu_id = val;
printf("get chip id\n");

if (kgsl_pipe_get_param(screen->pipe, FD_CHIP_ID, &val)) {
printf("could not get chip-id\n");
Expand Down

0 comments on commit 52593ed

Please sign in to comment.