summaryrefslogtreecommitdiff
path: root/lkft-mainline-x15
blob: fae228fe8a584b77de2c95353c34fac70867c62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash

. $(dirname $0)/functions

PATCHES=0
if [ -n "$1" ]; then
        AOSP="$1"
else
        AOSP="`pwd`"
fi

if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
        echo "This script must be run from the AOSP source directory"
        echo "or with the AOSP source directory as its first parameter."
        exit 1
fi

function apply_jstultz_mainline_patch(){
    local commit_id=$1 && shift
    local target_dir="common"
    if [ -n "$1" ]; then
        target_dir=$1 && shift
    fi
    if [ -d ${target_dir} ]; then
        curl_am https://git.linaro.org/people/john.stultz/android-dev.git/patch/?id=${commit_id} ${target_dir}
    fi
}

function apply_x15_mainline_patch(){
    local commit_id=$1 && shift
    # https://android-git.linaro.org/kernel/common.git/patch/?id=29c3a9780ac275750a8ae664f31c3434b30ddc02
    curl_am https://android-git.linaro.org/kernel/common.git/patch/?id=${commit_id} kernel/common/mainline
}

##################################################
################    ###################
##################################################
## Revert "drm/omap: Add 'alpha' and 'pixel blend mode' plane properties"
## https://patchwork.freedesktop.org/patch/msgid/20190711135219.23402-1-jjhiblot@ti.com
## http://android-review.linaro.org/c/kernel/common/+/21997
apply --linaro --local kernel/common/mainline --remote kernel/common 21997/5

## arch: arm: Enable SGX in device tree
## https://android-git.linaro.org/kernel/common.git/commit/?h=refs/heads/android-mainline-x15&id=1c59b34663f25385ea3ff288dba549f290db5e34
## http://android-review.linaro.org/c/kernel/common/+/20521
apply --linaro --local kernel/common/mainline --remote kernel/common 20521/13

## Revert drm/tidss: Soft Reset DISPC on startup
revert kernel/common/mainline c9b2d923befd8cee0b9d6cbd96128ec0bf44c881

## drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER
revert kernel/common/mainline 3ccd59f93004
## drm: omapdrm: Support exporting of non-contiguous GEM BOs
revert kernel/common/mainline 1948d28db621
## drm: omapdrm: simplify omap_gem_pin
revert kernel/common/mainline  86ad0397250c