Date: Thu, 27 Sep 2018 13:35:01 -0700 From: Johannes Lundberg <johalun0@gmail.com> To: Niclas Zeising <zeising+freebsd@daemonic.se> Cc: Steve Kargl <sgk@troutmask.apl.washington.edu>, x11-list freebsd <freebsd-x11@freebsd.org> Subject: Re: fence_wait returned with error -512 Message-ID: <CAECmPwvuq9K=gYO3jNYVo2=mwr3mENdzwzBLNmnaVpEAFZtiww@mail.gmail.com> In-Reply-To: <ed292bb9-5e5a-7de8-1440-7da718e3f6c8@daemonic.se> 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> <ed292bb9-5e5a-7de8-1440-7da718e3f6c8@daemonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Change here https://github.com/FreeBSDDesktop/freebsd-base/commit/8efc2b3f05053bd7c6d2c= 0b6e0fbde9ffc58bbe5 We need to patch drm-devel and drm-legacy. drm-{stable,next} does not use these macros so they don't need change. I don't want to add more conditions in the code so devel and legacy is >=3D 338948. I'll do the patch today. Let's continue this on gitter. On Thu, Sep 27, 2018 at 1:25 PM Niclas Zeising <zeising+freebsd@daemonic.se= > wrote: > 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 > latest > >>>>>> 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 > from > >>>> 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/drm2/= i915/i915_drv.c:1240:26: > error: too few arguments provided to function-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/drm2/= i915/i915_drv.c:1239:1: > error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] > >>> MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, > pciidlist, > >>> ^ > >>> 2 errors generated. > >>> *** [i915_drv.o] Error code 1 > >>> > >> > >> Or someone broke something inadvertently. Which revision are you > >> currently on? > > > > % uname -a > > FreeBSD troutmask.apl.washington.edu 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 > r338862 HPC amd64 > > > > You probably need to move past r338948, I'm afraid. I'm not sure that > drm-legacy-kmod can be changed to work both on the before and after > version. > Regards > -- > Niclas >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwvuq9K=gYO3jNYVo2=mwr3mENdzwzBLNmnaVpEAFZtiww>