* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2014-03-20 11:27 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-20 11:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-20 11:27 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Do you have some funny patches to your libdrm? nouveau_drm.h should be
installed irrespective of whether nouveau is built or not. From
include/drm/Makefile.am:
klibdrmincludedir = ${includedir}/libdrm
klibdrminclude_HEADERS = \
drm.h \
drm_mode.h \
drm_fourcc.h \
drm_sarea.h \
i915_drm.h \
mga_drm.h \
nouveau_drm.h \
r128_drm.h \
radeon_drm.h \
savage_drm.h \
sis_drm.h \
via_drm.h \
mach64_drm.h \
qxl_drm.h
All of those should be getting installed, unless my automake-foo sucks (an
entirely plausible theory).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-03-20 11:27 ` [Bug 76376] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-03-20 11:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-20 11:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-20 11:45 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 698 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
--- Comment #2 from Jonathan Gray <jsg-7YlrpqBBQ3VAfugRpC6u6w@public.gmane.org> ---
In OpenBSD we have a single set of shared kernel/userland drm headers. Only
the headers for the supported drm drivers (i915 and radeon) are installed. We
also use a seperate set of Makefiles for libdrm instead of autoconf.
I can propose adding the nouveau_drm.h to our kernel but I'd rather not do this
for the rest of the drm drivers we don't support. The exynos code in libdrm
and exynos_drm.h for example is GPL licensed and we can't include any GPL
licensed code in the kernel.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1438 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-03-20 11:27 ` [Bug 76376] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-20 11:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-03-20 11:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-21 16:27 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-20 11:50 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Sounds like you have custom patches to libdrm... you could just as well have
custom patches for mesa ripping out nouveau support from loader. The thing is
that this is the dispatch code, I believe the idea is that it shouldn't depend
on a particular driver being built. At least none of the other ones are
conditioned that way.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1286 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2014-03-20 11:50 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-03-21 16:27 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-21 17:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-21 17:33 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-21 16:27 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 823 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
--- Comment #4 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Pardon for cutting in:
Jonathan, apart from exynos is there any compelling reason why *BSD uses such
an "old libdrm", and syncs "random files" rather than the whole repo ?
IMHO one could ping the exynos people to correct the license, similarly to what
Rob did recently with freedreno[1], and then just use the upstream libdrm.
Ilia, I have the same impression as well. AFAICS the headers *_drm.h (provided
by libdrm) are meant to be independent from on the device specific libraries/
packages libdrm_*.
[1]
http://cgit.freedesktop.org/mesa/drm/commit/?id=128e74cf6492025e63e035566bd6e2203e8da5e1
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1692 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2014-03-21 16:27 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-03-21 17:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-21 17:33 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-21 17:04 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
--- Comment #5 from Jonathan Gray <jsg-7YlrpqBBQ3VAfugRpC6u6w@public.gmane.org> ---
It isn't 'old libdrm' or 'random files' it is a specific subset for the drivers
the kernel supports. The history here seems to be that five years ago Owain
removed the autoconf portions for reasons I'm not entirely clear on. Normally
this is because of something like a requirement on gnu make and python in a
build system.
The diff we have to libdrm is quite minimal, and includes changes for our
privilege separated server and a drmCheckModesettingSupported() case for
OpenBSD.
If the answer here is all the _drm.h files must be installed fine, I'll work
something out. Maybe we'll go back to having multiple copies of the headers
instead of sharing them between userland and the kernel.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1647 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 76376] mesa does not build after nouveau loader changes
[not found] ` <bug-76376-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2014-03-21 17:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-03-21 17:33 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-21 17:33 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 2308 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=76376
Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #6 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #5)
> It isn't 'old libdrm' or 'random files' it is a specific subset for the
"old drm" refers to the structure, "random files" refers that you're pulling
only changes to the core drm files.
> drivers the kernel supports. The history here seems to be that five years
> ago Owain removed the autoconf portions for reasons I'm not entirely clear
Indeed, I've skimmed through the history and did not see any reason why it was
nuked. Was hoping that you may have an idea on the topic.
> on. Normally this is because of something like a requirement on gnu make
> and python in a build system.
>
AFAICS the build is very simple and does not require anything fancy apart from
autoconf/automake. Not sure how keen are you guys on the auto* pair though.
> The diff we have to libdrm is quite minimal, and includes changes for our
> privilege separated server and a drmCheckModesettingSupported() case for
> OpenBSD.
>
drmCheckModesettingSupported recently gained support for FreeBSD, and I suspect
that no one will object if you guys are interested in merging your OpenBSD
implementation.
> If the answer here is all the _drm.h files must be installed fine, I'll work
> something out. Maybe we'll go back to having multiple copies of the headers
> instead of sharing them between userland and the kernel.
This is how we handle it currently - headers do not change with every drm
release, things do not sound that bad.
My main goal here is "drm has evolved over the last 5 years". It has a nice
selection of programs/apps/documentation that people working on drm on any
platform may be interested in. If you guys want less headache/patching,
consider using the upstream drm and sent us patches on how we can make it
better :-)
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3976 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 7+ messages in thread