Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Arm Research
    • DesignStart
    • Education Hub
    • Graphics and Gaming
    • High Performance Computing
    • Innovation
    • Multimedia
    • Open Source Software and Platforms
    • Physical
    • Processors
    • Security
    • System
    • Software Tools
    • TrustZone for Armv8-M
    • 中文社区
  • Blog
    • Artificial Intelligence
    • Automotive
    • Healthcare
    • HPC
    • Infrastructure
    • Innovation
    • Internet of Things
    • Machine Learning
    • Mobile
    • Smart Homes
    • Wearables
  • Forums
    • All developer forums
    • IP Product forums
    • Tool & Software forums
    • Pelion IoT Platform
  • Activity
  • Support
    • Open a support case
    • Documentation
    • Downloads
    • Training
    • Arm Approved program
    • Arm Design Reviews
  • More
  • Cancel
Graphics and Gaming
  • Developer Community
  • Tools and Software
  • Graphics and Gaming
  • Jump...
  • Cancel
Graphics and Gaming
Graphics and Gaming blog Unofficial patches to adapt the Mali r15p0-00rel0 drivers on 4.10-rc3 Linux kernels
  • Blog
  • Graphics - Most active members
  • Forum
  • Videos & Files
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
  • New
More blogs in Graphics and Gaming
  • Graphics and Gaming blog

Tell us what you think
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

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 - 杜尚杰
    Offline Jerome Decamps - 杜尚杰 over 3 years ago

    Thanks for the share Myy ;)

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

    Thanks for the share Myy ;)

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
No Data
Graphics and Gaming blog
  • Graphics and Gaming blog: Making Gaming Faster with Updatable Mali GPU Drivers and Android GPU Inspector

    mattyclarkson
    mattyclarkson
    This blog explains how developers can make their games run faster with updateable Mali GPU drivers and Android GPU Inspector
    • June 16, 2020
  • Graphics and Gaming blog: Launching Performance Analysis for Android CI

    Peter Harris
    Peter Harris
    Arm Mobile Studio 2020.1 launches with Professional Edition, enabling deployment of our Android game profiling tools into continuous integration systems.
    • June 11, 2020
  • Graphics and Gaming blog: Vulkan Samples: Bandwidth and Throughput Optimizations for Mobile

    José Emilio Muñoz-López
    José Emilio Muñoz-López
    Learn more about making bandwidth and throughput optimizations for mobile gaming through Arm's Vulkan samples.
    • June 9, 2020