Skip to content

Commit

Permalink
v4p: using /dev/dri/by-path/platform-gpu-card instead of card0
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Mar 1, 2024
1 parent 54b221a commit cfc5ae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v4p/drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ us_drm_s *us_drm_init(void) {

us_drm_s *drm;
US_CALLOC(drm, 1);
drm->path = "/dev/dri/card0";
// drm->path = "/dev/dri/card0";
drm->path = "/dev/dri/by-path/platform-gpu-card";
drm->port = "HDMI-A-1";
drm->n_bufs = 4;
drm->timeout = 5;
Expand Down

0 comments on commit cfc5ae1

Please sign in to comment.