mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-30 19:00:14 +01:00
drm: Implement drmCheckModesettingSupported() for DragonFly
For the sake of simplicity, KMS support can always be considered present on DragonFly. If some particular version doesn't support KMS yet, appropriate checks are already done in Dports's x11-drivers/ Makefiles and KMS-enabled driver packages don't get built. Signed-off-by: François Tigeot <ftigeot@wolfpond.org> Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl>
This commit is contained in:
parent
07fead4462
commit
edbb4e545f
1 changed files with 2 additions and 0 deletions
|
|
@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
|
|||
return -EINVAL;
|
||||
return (modesetting ? 0 : -ENOSYS);
|
||||
}
|
||||
#elif defined(__DragonFly__)
|
||||
return 0;
|
||||
#endif
|
||||
return -ENOSYS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue