Re: Include ASPEED ast-drm 1.15.1 video driver in kernel tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Nicolas,

Thank you for taking a look at this. It would be nice to have an updated driver. The best way to go forward is to chop the enhancements from the version that you tested into small patches that can be applied to the kernel tree.

This way you get all the benefits from the updated driver, in a way that it's suitable to maintain for us.

Kind regards,
Maarten Lankhorst

On 2025-02-12 19:58, Nicolas Baranger wrote:
Dear maintener

I did include ast-drm driver version 1.15.1 (in replacement of version 0.1.0) on the new mainline kernel too (6.14.0-rc2) and I issue a new dkms patch

Last DKMS patch had been sucessfully tested on mainline.
And last ast.ko version 1.15.1 included in linux tree had also been sucessfully tested

Online directory is updated with :
- new DKMS patch
- new DKMS srouces
- new DKMS debian package
- new tarball of mainline included ast_new ported in kernel tree
- new kernel debian package (mainline with ast_new)


NB: online directory is here: https://xba.soartist.net/ast- drm_nba_20250211/

Please let me know what I should do to see this change in linux-next

Thanks for help

Kind regards
Nicolas Baranger


Le 2025-02-11 19:15, Nicolas Baranger a écrit :

Dear maintener

For my own usage, I did make work the ASPEED ast-drm 1.15.1 video driver on mainline kernel (6.13.0 + 6.13.1).

ASPEED video driver is availiable here:
https://www.aspeedtech.com/file/support/Linux_DRM_1.15.1_4.tar.gz

But it only work for LTS kernel
So I modify the DKMS package and I build a new Debian DKMS package with the adapted  source.
My patch can be find here :
https://xba.soartist.net/ast-drm_nba_20250211/nba-dkms/astdiff.patch
See the README:
https://xba.soartist.net/ast-drm_nba_20250211/nba-dkms/README

Using this new 'ast 1.15.1' driver, performance are amazing compared to the 'ast' driver include in kernel tree, specially when using a discrete GPU and offloading VULKAN / 3D on it but using AST VGA card as the main video card and as the main and only video output (the discrete GPU is used only for offloading 3D or for cuda/opencl)

So to make things easier, I include the new 'ast 1.15.1' driver in kernel tree as AST_NEW : linux-6.13.1-ast/drivers/gpu/drm/ast_new'
It's working fine as you can see on this video :
https://xba.soartist.net/ast-drm_nba_20250211/ vulcan_nvidia_prime_render_offload_on_ast_vga_card.webm

I upload all the work I've done here :
https://xba.soartist.net/ast-drm_nba_20250211/

See the global README :
https://xba.soartist.net/ast-drm_nba_20250211/README

and the README in nba-kernel sub-directory :
https://xba.soartist.net/ast-drm_nba_20250211/nba-kernel/README

I'm not a developer so please let me know if I made the things the right way and if this new 'ast 1.15.1' driver can be ported to linux- next or linux-? ? If you need more explanations, do not hesitate to contact me, I would be happy to help

Kind regards
Nicolas Baranger




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux