Re: DRM Project report (week of August 10)

2020-08-18 Thread Emmanuel Vadot
On Tue, 18 Aug 2020 10:25:10 +0200
Emmanuel Vadot  wrote:

> On Mon, 17 Aug 2020 20:44:38 +0200
> Jan Beich  wrote:
> 
> > Emmanuel Vadot  writes:
> > 
> > >  Hello,
> > >
> > >  5.4 was finilly reached !
> > >  For AMD users it means that Navi12/14, Arctarus and Renoir should work.
> > >  For Intel users it means that TigerLake should work too.
> > >
> > >  No ports update for now as I want to give current users a bit of time
> > > to update their base (as the ports needs recent addition to
> > > base linuxkpi) but if you have a current >= 364233 you can test
> > > directly the master branch of https://github.com/freebsd/drm-kmod/
> > >
> > >  I plan to commit the port update at the end of the week, and probably
> > > at the end of the month we will switch drm-current-kmod to 5.4.
> > >
> > >  It's now time to do 2 main things :
> > >  - Update stable/12 so it have all the needed code to run 5.4
> > >  - Remove the remaining GPLv2 code to start thinking of import into
> > > base.
> > 
> > Upstream v5.4 was tagged on 2019-11-24. Did you check linux-5.4.y (LTS)
> > doesn't require more LinuxKPI changes? For example, when drm-v5.0 was
> > the latest I've played with grafting linux-4.19.y only to discover
> > some commits had to be reverted due to missing LinuxKPI bits.
> 
>  Not yet, but those bits could be added in the ports for 12.2 if they
> are needed anyway.
> 
 
 I did a quick test and only two commits needs to be back-out to have
v5.4.58 :

 
https://github.com/torvalds/linux/commit/f14f27b1663269a81ed62d3961fe70250a1a0623
 
https://github.com/torvalds/linux/commit/873a95e0d59ac06901ae261dda0b7165ffd002b8

 I'll look at what's really needed in a few days.

 I've pushed a 5.4-lts branch
https://github.com/freebsd/drm-kmod/tree/5.4-lts

 This has not been tested yet (just compiled).

-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-18 Thread Emmanuel Vadot
On Mon, 17 Aug 2020 20:44:38 +0200
Jan Beich  wrote:

> Emmanuel Vadot  writes:
> 
> >  Hello,
> >
> >  5.4 was finilly reached !
> >  For AMD users it means that Navi12/14, Arctarus and Renoir should work.
> >  For Intel users it means that TigerLake should work too.
> >
> >  No ports update for now as I want to give current users a bit of time
> > to update their base (as the ports needs recent addition to
> > base linuxkpi) but if you have a current >= 364233 you can test
> > directly the master branch of https://github.com/freebsd/drm-kmod/
> >
> >  I plan to commit the port update at the end of the week, and probably
> > at the end of the month we will switch drm-current-kmod to 5.4.
> >
> >  It's now time to do 2 main things :
> >  - Update stable/12 so it have all the needed code to run 5.4
> >  - Remove the remaining GPLv2 code to start thinking of import into
> > base.
> 
> Upstream v5.4 was tagged on 2019-11-24. Did you check linux-5.4.y (LTS)
> doesn't require more LinuxKPI changes? For example, when drm-v5.0 was
> the latest I've played with grafting linux-4.19.y only to discover
> some commits had to be reverted due to missing LinuxKPI bits.

 Not yet, but those bits could be added in the ports for 12.2 if they
are needed anyway.

-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-17 Thread grarpamp
Thanks go to all the ongoing teams working the
things like gpgpu / compute, and graphics,
whether on-cpu-die or on-pci-card.

And even some things like BSD on Pinephone too.
https://www.pine64.org/pinephone
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-17 Thread Jan Beich
Emmanuel Vadot  writes:

>  Hello,
>
>  5.4 was finilly reached !
>  For AMD users it means that Navi12/14, Arctarus and Renoir should work.
>  For Intel users it means that TigerLake should work too.
>
>  No ports update for now as I want to give current users a bit of time
> to update their base (as the ports needs recent addition to
> base linuxkpi) but if you have a current >= 364233 you can test
> directly the master branch of https://github.com/freebsd/drm-kmod/
>
>  I plan to commit the port update at the end of the week, and probably
> at the end of the month we will switch drm-current-kmod to 5.4.
>
>  It's now time to do 2 main things :
>  - Update stable/12 so it have all the needed code to run 5.4
>  - Remove the remaining GPLv2 code to start thinking of import into
> base.

Upstream v5.4 was tagged on 2019-11-24. Did you check linux-5.4.y (LTS)
doesn't require more LinuxKPI changes? For example, when drm-v5.0 was
the latest I've played with grafting linux-4.19.y only to discover
some commits had to be reverted due to missing LinuxKPI bits.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-17 Thread Pete Wright



On 8/17/20 1:46 AM, Emmanuel Vadot wrote:

  Hello,

  5.4 was finilly reached !
  For AMD users it means that Navi12/14, Arctarus and Renoir should work.
  For Intel users it means that TigerLake should work too.

  No ports update for now as I want to give current users a bit of time
to update their base (as the ports needs recent addition to
base linuxkpi) but if you have a current >= 364233 you can test
directly the master branch of https://github.com/freebsd/drm-kmod/

  I plan to commit the port update at the end of the week, and probably
at the end of the month we will switch drm-current-kmod to 5.4.
thanks Manu!  would it make sense to make this version available in 
graphics/drm-devel-kmod now to make it easier to test for people who 
update world/kernel more frequently?


-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-17 Thread Emmanuel Vadot
On Mon, 17 Aug 2020 10:56:08 -0400
Ed Maste  wrote:

> On Mon, 17 Aug 2020 at 04:46, Emmanuel Vadot  wrote:
> >
> >  - Remove the remaining GPLv2 code to start thinking of import into
> > base.
> 
> How much GPLv2 code do we have left now?

~50% of what's in
https://github.com/freebsd/drm-kmod/tree/5.4-cleanup-lkpi/linuxkpi/gplv2/src

 + the includes + all the dma-buf.

 I have some dma-buf in my drmbase branch for arm that will help.

> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM Project report (week of August 10)

2020-08-17 Thread Ed Maste
On Mon, 17 Aug 2020 at 04:46, Emmanuel Vadot  wrote:
>
>  - Remove the remaining GPLv2 code to start thinking of import into
> base.

How much GPLv2 code do we have left now?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


DRM Project report (week of August 10)

2020-08-17 Thread Emmanuel Vadot


 Hello,

 5.4 was finilly reached !
 For AMD users it means that Navi12/14, Arctarus and Renoir should work.
 For Intel users it means that TigerLake should work too.

 No ports update for now as I want to give current users a bit of time
to update their base (as the ports needs recent addition to
base linuxkpi) but if you have a current >= 364233 you can test
directly the master branch of https://github.com/freebsd/drm-kmod/

 I plan to commit the port update at the end of the week, and probably
at the end of the month we will switch drm-current-kmod to 5.4.

 It's now time to do 2 main things :
 - Update stable/12 so it have all the needed code to run 5.4
 - Remove the remaining GPLv2 code to start thinking of import into
base.

 I'll also start producing some usb image so people could test latest
current with 5.4 on their machine and starts reporting bug soon (this
is needed for making 5.4 default on 13-CURRENT and later 12.2).

 All this work is under sponsorship from the FreeBSD Foundation.

-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"