v4p: using /dev/dri/by-path/platform-gpu-card instead of card0

This commit is contained in:
Maxim Devaev 2024-03-02 01:14:15 +02:00
parent 54b221aabd
commit cfc5ae1b94

View File

@ -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;