Skip to contentSkip to conversation

New: Support libkms on FreeBSD

Bug 61269 [email protected] 1 participant 8 messages Feb 22, 2013 – Sep 24, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=61269

Priority: medium
Bug ID: 61269
Assignee: [email protected]
Summary: Support libkms on FreeBSD
Severity: normal
Classification: Unclassified
OS: FreeBSD
Reporter: [email protected]
Hardware: All
Status: NEW
Version: XOrg CVS
Component: libdrm
Product: DRI

Created attachment 75298
--> https://bugs.freedesktop.org/attachment.cgi?id=75298&action=edit
Fix detection of Intel-style atomic primitives on amd64 (patch by Brian Waters)

Series of 3 patches coming up which allow libdrm to be compiled with KMS support on FreeBSD.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 61269] Support libkms on FreeBSD

https://bugs.freedesktop.org/show_bug.cgi?id=61269

--- Comment #1 from Philip Withnall <[email protected]> --- Created attachment 75299
--> https://bugs.freedesktop.org/attachment.cgi?id=75299&action=edit
Add support for FreeBSD’s libkms (patch by Konstantin Belousov)

Originally from: http://people.freebsd.org/~kib/drm/libdrm.2.patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 61269] Support libkms on FreeBSD

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61269

--- Comment #2 from Philip Withnall <[email protected]> --- Created attachment 75300
--> https://bugs.freedesktop.org/attachment.cgi?id=75300&action=edit
Replace strchrnul() with strchr()

strchrnul() doesn’t exist on FreeBSD, and is simple enough to replace with strchr().

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 61269] Support libkms on FreeBSD

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61269

Niclas Zeising <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #75300|0                           |1

is obsolete| |

--- Comment #3 from Niclas Zeising <[email protected]> --- Created attachment 75312
--> https://bugs.freedesktop.org/attachment.cgi?id=75312&action=edit
Add local implementation of strchrnul()

Hi!
Attached is a different solution to the strchrnul() issue, it adds a local implementation and a configure check to see if strchrnul() exists in libc. If it does exist in libc, that version will be used instead of the local version.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 61269] Support libkms on FreeBSD

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61269

Christoph Egger <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #75299|0                           |1

is obsolete| |

--- Comment #4 from Christoph Egger <[email protected]> --- Created attachment 86138
--> https://bugs.freedesktop.org/attachment.cgi?id=86138&action=edit
Updated "Add support for FreeBSD’s libkms (patch by Konstantin Belousov)"

Attached is an update to the libkms patch. It adds two small modifications so it works on kfreebsd as well and refreshes against libdrm 2.46. It also adds a small fix (len is used before it is assigned) without which it doesn't work for me

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 61269] Support libkms on FreeBSD

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61269

--- Comment #6 from Emil Velikov <[email protected]> --- Have either of these two made it to the mailing list [1] ? AFAIK most people do not look for and/or expect patches in bugzilla. Please use git am to generate both patches :)

Thanks
Emil

[1] [email protected]

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 61269] Support libkms on FreeBSD

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=61269

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/10.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel