Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Arm Community blogs
Arm Community blogs
Mobile, Graphics, and Gaming blog Unofficial patches to adapt the Mali r15p0-00rel0 drivers on 4.10-rc3 Linux kernels
  • Blogs
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
More blogs in Arm Community blogs
  • AI blog

  • Announcements

  • Architectures and Processors blog

  • Automotive blog

  • Embedded and Microcontrollers blog

  • Internet of Things (IoT) blog

  • Laptops and Desktops blog

  • Mobile, Graphics, and Gaming blog

  • Operating Systems blog

  • Servers and Cloud Computing blog

  • SoC Design and Simulation blog

  • Tools, Software and IDEs blog

Tags
Actions
  • RSS
  • More
  • Cancel
Related blog posts
Related forum threads

Unofficial patches to adapt the Mali r15p0-00rel0 drivers on 4.10-rc3 Linux kernels

Myy
Myy
January 10, 2017
1 minute read time.

I'm currently building 4.10-rcX Linux kernels for MiQi devices (RK3288 ARMv7 boards), integrating the latest Mali Kernel drivers r15p0-00rel0. In order to integrate these drivers, various patches are required due to changes in the internal kernel ABI.

I'll attach the main patch, targeting the Mali drivers in itself, to this post.

  • First patch (attached to this post)
    • Adapted the Midgard kernel driver code due to the following ABI changes:
      • mm: add locked parameter to get_user_pages_remote()
      • ktime: Get rid of the union
      • mm: use vmf->address instead of of vmf->virtual_address
      • mm: replace get_user_pages_remote() write/force parameters with gup_flags
  • Second patch
    • Adapted the Unified Memory Provider code due to the following ABI changes:
      • mm: replace get_user_pages_remote() write/force parameters with gup_flags
  • Third patch
    • Adapted the Mali DMA Fence code due to the following ABI changes:
      • dma-buf: Rename struct fence to dma_fence

I host available builds of 4.10-rc3 kernels for rk3288 MiQi boards, integrating the Mali kernel drivers using these patches, on Github and Gitlab.

  • 0001-Midgard-daptation-to-Linux-4.10.0-rcX-signatures.txt
  • View
  • Hide
Anonymous
Parents
  • Jerome Decamps - 杜尚杰
    Jerome Decamps - 杜尚杰 over 8 years ago

    Thanks for the share Myy ;)

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Comment
  • Jerome Decamps - 杜尚杰
    Jerome Decamps - 杜尚杰 over 8 years ago

    Thanks for the share Myy ;)

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
No Data
Mobile, Graphics, and Gaming blog
  • Unlock the power of SVE and SME with SIMD Loops

    Vidya Praveen
    Vidya Praveen
    SIMD Loops is an open-source project designed to help developers learn SVE and SME through hands-on experimentation. It offers a clear, practical pathway to mastering Arm’s most advanced SIMD technologies…
    • September 19, 2025
  • What is Arm Performance Studio?

    Jai Schrem
    Jai Schrem
    Arm Performance Studio gives developers free tools to analyze performance, debug graphics, and optimize apps on Arm platforms.
    • August 27, 2025
  • How Neural Super Sampling works: Architecture, training, and inference

    Liam O'Neil
    Liam O'Neil
    A deep dive into a practical, ML-powered approach to temporal super sampling.
    • August 12, 2025