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>main
parent
07fead4462
commit
edbb4e545f
|
@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
return (modesetting ? 0 : -ENOSYS);
|
return (modesetting ? 0 : -ENOSYS);
|
||||||
}
|
}
|
||||||
|
#elif defined(__DragonFly__)
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
return -ENOSYS;
|
return -ENOSYS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue