Set DEVNAME to dri/card%d. This works with both in-tree drm and drm-next
and is also the value used on Linux. Tested by: Greg V <greg@unrelenting.technology>
This commit is contained in:
parent
11ce4d9f39
commit
df4c975275
@ -205,8 +205,8 @@ linsysfs_fill_uevent_drm(PFS_FILL_ARGS)
|
|||||||
dev = (device_t)pn->pn_data;
|
dev = (device_t)pn->pn_data;
|
||||||
unit = device_get_unit(dev);
|
unit = device_get_unit(dev);
|
||||||
sbuf_printf(sb,
|
sbuf_printf(sb,
|
||||||
"MAJOR=226\nMINOR=%d\nDEVNAME=drm/%d\nDEVTYPE=dri_minor\n", unit,
|
"MAJOR=226\nMINOR=%d\nDEVNAME=dri/card%d\nDEVTYPE=dri_minor\n",
|
||||||
unit);
|
unit, unit);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user