Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 22:25:47 +0200
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        sgk@troutmask.apl.washington.edu
Cc:        Johannes Lundberg <johalun0@gmail.com>, freebsd-x11@freebsd.org
Subject:   Re: fence_wait returned with error -512
Message-ID:  <ed292bb9-5e5a-7de8-1440-7da718e3f6c8@daemonic.se>
In-Reply-To: <20180927201928.GA86166@troutmask.apl.washington.edu>
References:  <20180926170105.GA8906@troutmask.apl.washington.edu> <CAECmPwvFXoBqjC7YZ3ZE=W6u0YHmSGAHuJ9hzLDwC2=VnG7fDQ@mail.gmail.com> <20180926232051.GA13774@troutmask.apl.washington.edu> <CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw@mail.gmail.com> <20180927014128.GA14820@troutmask.apl.washington.edu> <daf96fc7-3902-6461-a1b6-554ed24f1518@daemonic.se> <20180927190409.GA27756@troutmask.apl.washington.edu> <b8e08aee-c532-b92c-26d8-0f82f586cb2e@daemonic.se> <20180927201928.GA86166@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/27/18 10:19 PM, Steve Kargl wrote:
> On Thu, Sep 27, 2018 at 10:17:02PM +0200, Niclas Zeising wrote:
>> On 9/27/18 9:04 PM, Steve Kargl wrote:
>>> On Thu, Sep 27, 2018 at 09:13:46AM +0200, Niclas Zeising wrote:
>>>> On 9/27/18 3:41 AM, Steve Kargl wrote:
>>>>> On Wed, Sep 26, 2018 at 04:45:10PM -0700, Johannes Lundberg wrote:
>>>>>>
>>>>>> I=E2=80=99ve attached what I think is the correct ports patch for =
this if you want
>>>>>> to build yourself. I don=E2=80=99t know when the package will be u=
pdated but it
>>>>>> will definitely be before 12 is released.
>>>>>>
>>>>>> You can also always clone the git repo and build from there for la=
test
>>>>>> version.
>>>>>> github.com/freebsddesktop/drm-legacy
>>>>>>
>>>>>> I don=E2=80=99t have the hardware to test myself so I=E2=80=99d be=
 grateful if you can give
>>>>>> the patch a try and see if firmware loading works.
>>>>>>
>>>>>
>>>>> I'll see if I can pull the source tomorrow.
>>>>>
>>>>
>>>> Hi!
>>>> The port has been updated with the latest version of drm-legacy-kmod=
.  I
>>>> don't exactly know when packages are updated, but you can build it f=
rom
>>>> ports in the meantime.
>>>> Regards
>>>
>>> Ugh.  Seems I have to build a new world. :(
>>>
>>>
>>> --- i915_drv.o ---
>>> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/d=
rm2/i915/i915_drv.c:1240:26: error: too few arguments provided to functio=
n-like macro invocation
>>>       nitems(pciidlist) - 1);
>>>                            ^
>>> /usr/src/sys/sys/module.h:181:9: note: macro 'MODULE_PNP_INFO' define=
d here
>>> #define MODULE_PNP_INFO(d, b, unique, t, l, n)                       =
   \
>>>           ^
>>> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/d=
rm2/i915/i915_drv.c:1239:1: error: type specifier missing, defaults to 'i=
nt' [-Werror,-Wimplicit-int]
>>> MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, pciidl=
ist,
>>> ^
>>> 2 errors generated.
>>> *** [i915_drv.o] Error code 1
>>>
>>
>> Or someone broke something inadvertently.  Which revision are you
>> currently on?
>=20
> % uname -a
> FreeBSD troutmask.apl.washington.edu 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 r3=
38862 HPC  amd64
>=20

You probably need to move past r338948, I'm afraid.  I'm not sure that=20
drm-legacy-kmod can be changed to work both on the before and after versi=
on.
Regards
--=20
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed292bb9-5e5a-7de8-1440-7da718e3f6c8>