liuyq / android-issues

place to write notes about investigation on android issues
0 stars 0 forks source link

db845c: android15-6.6 & android-mainline: half display #33

Closed liuyq closed 5 days ago

liuyq commented 1 month ago

It's aboard specific issue, the first board reports the issue, the second one works the first one work with 6.1 kernel, but not 6.6 and mainline, the display issue is like this: db845c-half-display

db845c-mainline-half-display-good.zip db845c-mainline-half-display-bad.zip

liuyq commented 2 weeks ago
$ git submodule update --init --no-recommend-shallow 
error: Server does not allow request for unadvertised object 86f778561ed3cc3c46ca5c7fd9f2c591d054cc70
Fetched in submodule path 'prebuilts/build-tools', but it did not contain 86f778561ed3cc3c46ca5c7fd9f2c591d054cc70. Direct fetching of that commit failed.
16:43:19 P15v:superproject-local

6.5.0-2235300a6172    first 6.5 after rcs
    2235300a6172 (tag: android-mainline-6.5) Merge "Merge tag 'v6.5' into android-mainline" into android-mainline
    493b9c2785d6 Merge "Merge tag 'v6.5' into android-mainline" into android-mainline
    git checkout 493b9c2785d6
    git submodule update --init --no-recommend-shallow

    reproduced

6.4.0-b1fe58396fd5     last 6.4 before 6.5 rcs  7 months, 4 weeks ago Sept. 1, 2023
    b1fe58396fd5 ANDROID: kleaf: get_gki_modules_list add i386 option

6.4.0-d3b9a3ce6506    ANDROID: GKI: fix db845c build (TYPEC_QCOM_PMIC),  7 months, 3 weeks ago  Sept. 6, 2023
    d3b9a3ce6506 ANDROID: GKI: fix db845c build (TYPEC_QCOM_PMIC)
    6a563599a073 ANDROID: GKI: fix db845c build (TYPEC_QCOM_PMIC)
    git checkout 6a563599a073
    git submodule update --init --no-recommend-shallow

    reproduced, worse

    00:06:46 P15v:common$ git status  drivers/gpu/drm/msm/
    HEAD detached at d3b9a3ce6506
    Changes to be committed:
      (use "git restore --staged <file>..." to unstage)
        modified:   drivers/gpu/drm/msm/adreno/a5xx_gpu.c
        modified:   drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
        modified:   drivers/gpu/drm/msm/adreno/adreno_device.c
        modified:   drivers/gpu/drm/msm/adreno/adreno_gpu.h
        modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h
        modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
        modified:   drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c
        modified:   drivers/gpu/drm/msm/msm_fbdev.c
        modified:   drivers/gpu/drm/msm/msm_fence.c
        modified:   drivers/gpu/drm/msm/msm_gem_submit.c
        modified:   drivers/gpu/drm/msm/msm_mdss.c

    00:06:53 P15v:common$

6.4.0-108c31cb8830     8 months ago  Aug. 26, 2023
    $ git log --oneline -n1 108c31cb8830 
    108c31cb8830 ANDROID: gki_defconfig: enable CONFIG_CFG80211_CERTIFICATION_ONUS and CONFIG_CFG80211_REG_CELLULAR_HINTS
    $

    $ git log --oneline -n1 ec923848f8c7
    ec923848f8c7 ANDROID: gki_defconfig: enable CONFIG_CFG80211_CERTIFICATION_ONUS and CONFIG_CFG80211_REG_CELLULAR_HINTS
    $

6.4.0-71934a02dbca
    71934a02dbca ANDROID: Set arch attribute for allmodconfig builds
    c78546ce4dc5 ANDROID: Set arch attribute for allmodconfig builds
    git checkout c78546ce4dc5
    git submodule update --init --no-recommend-shallow

    [396 / 400] Building kernel (btf_debug_info=default;lto=default;notrim) @//common:db845c_no_kgdb; 46s linux-sandbox
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:269:13: Building kernel (btf_debug_info=default;lto=default;notrim) @//common:db845c_no_kgdb failed: (Exit 1): bash failed: error executing command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    ERROR: Unrecognized 6.4.0
    Target //common:db845c_dist failed to build
    Use --verbose_failures to see the command lines of failed build steps.
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:334:17 Middleman _middlemen/common_Sdb845c_Udist-runfiles failed: (Exit 1): bash failed: error executing command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    INFO: Elapsed time: 354.984s, Critical Path: 340.37s
    INFO: 397 processes: 371 internal, 26 linux-sandbox.
    ERROR: Build did NOT complete successfully
    ERROR: Build failed. Not running target

6.4.0-cdef824f3de0

6.3.0-0bbe66a90b4f
    0bbe66a90b4f ANDROID: GKI: Include kheaders in gki_system_dlkm_modules
    4c739f264027 ANDROID: GKI: Include kheaders in gki_system_dlkm_modules
    git checkout  4c739f264027
    git submodule update --init --no-recommend-shallow

3669a3205af3 (tag: android-mainline-6.3) Revert "ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained"
liuyq commented 2 weeks ago
6.4.0-d3b9a3ce6506  Sept. 6, 2023     reproduced, worse
6.4.0-108c31cb8830   Aug. 26, 2023 
6.4.0-d5d494baf2b7  Aug. 24, 2023 
6.4.0-6e4d51f1848e  Aug. 23, 2023 
6.4.0-315894f39871   Aug. 23, 2023 
6.4.0-6c25e06df41a   Aug. 22, 2023 
6.4.0-cd4ca8caa755  Aug. 17, 2023
6.4.0-dc39b233fe84  Aug. 17, 2023 
6.4.0-64302bc80113  Aug. 16, 2023 
6.4.0-83379c35cd0f  Aug. 16, 2023 
6.4.0-7dbf26568fcc  Aug. 12, 2023 
6.4.0-49f32a8f1e8b  Aug. 9, 2023 
6.4.0-8b02674c1f67  Aug. 8, 2023 
6.4.0-09d894c76c93  Aug. 10, 2023 
6.4.0-66996fbe64ff  Aug. 7, 2023 
6.4.0-2819a78cc292  Aug. 4, 2023 
6.4.0-b2a768fc82c8  Aug. 2, 2023  "ANDROID: GKI: Create symbol files in include/config"
    24c1bf1386f1 ANDROID: GKI: Create symbol files in include/config
    git checkout 24c1bf1386f1
    git submodule update --init --no-recommend-shallow

    no display on the hdmi monitor
    [  107.884620][  T511] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  107.893880][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.903370][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.912850][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.922323][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.931797][  T511] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  107.940560][  T511] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

6.4.0-223880cf5c4a  July 31, 2023 
6.4.0-d4221dcddcdc  July 28, 2023 
6.4.0-befcd56274e2  July 27, 2023 
6.4.0-5ae616b4a60d  July 27, 2023 
6.4.0-13179e96fd2a  July 26, 2023 
6.4.0-43cb8e4ed667  July 26, 2023 
6.4.0-e6c54be2cd1f  July 25, 2023 
6.4.0-8812957ce5dd  July 25, 2023 
6.4.0-e98e78b52a5c  July 24, 2023
    e98e78b52a5c ANDROID: Revert "kbuild: Enable -fstrict-flex-arrays=3"
    5b6cea1dffb8 ANDROID: Revert "kbuild: Enable -fstrict-flex-arrays=3"
    git checkout 5b6cea1dffb8
    git submodule update --init --no-recommend-shallow

    no display on the hdmi monitor
    [   98.689513][  T500] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [   99.590901][  T500] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   99.600449][  T500] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   99.609977][  T500] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   99.619475][  T500] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   99.628958][  T500] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [   99.637764][  T500] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

6.4.0-1343e37a856e  July 22, 2023 
6.4.0-d2cfaa5e59e9  July 20, 2023 
6.4.0-cc315af4f438  July 20, 2023 
6.4.0-2970969f4d8a  July 19, 2023 
6.4.0-7f2bfb86500c  July 19, 2023
    7f2bfb86500c Revert "ANDROID: fs-verity: Export function to check signatures"
    e27ef9cc8a3b Revert "ANDROID: fs-verity: Export function to check signatures"
    git checkout e27ef9cc8a3b
    git submodule update --init --no-recommend-shallow

    no display on the hdmi monitor
    [  646.553981][  T511] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  647.469900][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  647.479437][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  647.488964][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  647.498444][  T511] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  647.507923][  T511] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  647.516727][  T511] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

6.4.0-c1c8d5e596c1  July 18, 2023
    c1c8d5e596c1 ANDROID: Incremental fs: Allocate data buffer based on input request size
    b082fe1e762d ANDROID: Incremental fs: Allocate data buffer based on input request size

6.4.0-a5b53968d8e6  July 18, 2023 
    a5b53968d8e6 ANDROID: remoteproc: sysfs: fix race while updating recovery flag
    7bfa79170c85 ANDROID: remoteproc: sysfs: fix race while updating recovery flag

6.4.0-d8077a744288  July 18, 2023
    d8077a744288 Merge 72dc6db7e3b6 ("Merge tag 'wq-for-6.5-cleanup-ordered' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq") into android-mainline
    791a709ba3e5 Merge 72dc6db7e3b6 ("Merge tag 'wq-for-6.5-cleanup-ordered' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq") into android-mainline

e27ef9cc8a3b (HEAD) Revert "ANDROID: fs-verity: Export function to check signatures"
cdad6028b974 Move OWNER reference master=>main.
82f379ac96e0 Stop requiring CONFIG_FS_VERITY_BUILTIN_SIGNATURES
b082fe1e762d ANDROID: Incremental fs: Allocate data buffer based on input request size
cd2e45b4b1f7 kleaf: workspace_status_stamp.py: Use pathlib.Path everywhere.
7bfa79170c85 ANDROID: remoteproc: sysfs: fix race while updating recovery flag
7139ae1f35c3 kleaf: make rel_path emit an error.
791a709ba3e5 Merge 72dc6db7e3b6 ("Merge tag 'wq-for-6.5-cleanup-ordered' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq") into android-mainline
dec7e6df2edf Merge 001738793899 ("Merge tag 'irq-core-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
d75ed7799423 kleaf: support --page_size={default,4k,16k,64k}
    git checkout d75ed7799423
    git submodule update --init --no-recommend-shallow

    no display on the hdmi monitor
    [  106.989985][  T507] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  107.891949][  T507] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.901486][  T507] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.910971][  T507] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.920443][  T507] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  107.929940][  T507] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  107.938724][  T507] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

76b356b77611 kleaf: workspace_status_stamp.py: Do not use Optional.
0929b4d80e7b kleaf: Pass what to extract_git_metadata
    git checkout 0929b4d80e7b
    git submodule update --init --no-recommend-shallow

    no display on the hdmi monitor
    [   60.567986][  T497] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [   61.486145][  T497] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   61.495714][  T497] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   61.505214][  T497] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   61.514749][  T497] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   61.524242][  T497] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [   61.533018][  T497] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [   62.591743][   T71] platform sound: deferred probe pending
    [   62.597300][   T71] gcc-sdm845 100000.clock-controller: sync_state() pending due to 793000.rng
    [   62.605997][   T71] qnoc-sdm845 1380000.interconnect: sync_state() pending due to 1436400.pmu
    [   62.614608][   T71] qnoc-sdm845 1380000.interconnect: sync_state() pending due to 114a000.pmu
    [   62.623243][   T71] gcc-sdm845 100000.clock-controller: sync_state() pending due to 1dfa000.crypto
    [   62.632305][   T71] qnoc-sdm845 1500000.interconnect: sync_state() pending due to aa00000.video-codec
    [   62.641602][   T71] qnoc-sdm845 1380000.interconnect: sync_state() pending due to aa00000.video-codec
    [   62.650915][   T71] qnoc-sdm845 1740000.interconnect: sync_state() pending due to aa00000.video-codec
    [   62.660219][   T71] sdm845-videocc ab00000.clock-controller: sync_state() pending due to aa00000.video-codec
    [   62.670127][   T71] gcc-sdm845 100000.clock-controller: sync_state() pending due to 506a000.gmu
    [   62.678905][   T71] sdm845-gpucc 5090000.clock-controller: sync_state() pending due to 506a000.gmu
    [   62.687952][   T71] qnoc-sdm845 17900000.interconnect: sync_state() pending due to aa00000.video-codec
    [   62.697336][   T71] qnoc-sdm845 17900000.interconnect: sync_state() pending due to 1436400.pmu
    [   62.706030][   T71] qcom-rpmhpd 179c0000.rsc:power-controller: sync_state() pending due to aa00000.video-codec

    10:04:38 P15v:kernel$ pwd
    /home/liuyq/data/android/superproject-local/build/kernel
    10:04:55 P15v:kernel$ git log --oneline -n3
    0a6ba4038c32 (HEAD) kleaf: Pass what to extract_git_metadata
    10dfc6b4b157 kleaf: Always put -android_release-kmi_generation regardless of sha1.
    ead07b8cf66a kleaf: kernel_config_test sets kernel_build.arch properly.
    10:04:59 P15v:kernel$ 

2cc511d3eb45 Update bazel to commit 2bba03b1f6d446c63634ffa82e3e86bb94112816
    git checkout 2cc511d3eb45
    git submodule update --init --no-recommend-shallow

    [403 / 407] Building kernel (lto=default;notrim) @//common:db845c_no_kgdb; 46s linux-sandbox
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:269:13: Building kernel (lto=default;notrim) @//common:db845c_no_kgdb failed: (Exit 1): bash failed: error executing KernelBuild command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    ERROR: Unrecognized 6.4.0
    Target //common:db845c_dist failed to build
    Use --verbose_failures to see the command lines of failed build steps.
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:334:17 Middleman _middlemen/common_Sdb845c_Udist-runfiles failed: (Exit 1): bash failed: error executing KernelBuild command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    INFO: Elapsed time: 331.980s, Critical Path: 316.45s
    INFO: 404 processes: 378 internal, 26 linux-sandbox.
    ERROR: Build did NOT complete successfully
    ERROR: Build failed. Not running target

    09:49:30 P15v:kernel$ git log --oneline -n5
    ead07b8cf66a (HEAD) kleaf: kernel_config_test sets kernel_build.arch properly.
    75b9a4916b36 kleaf: set KYTHE_BUILD_CONFIG=kernel_build.name.
    602cb014c534 kleaf: abi_dump: allow empty module_outs
    06685a735892 kleaf: device_modules_test: set arch properly.
    65e5e35eab0c kleaf: --btf_debug_info implemented with defconfig_fragments
    09:49:33 P15v:kernel$ pwd
    /home/liuyq/data/android/superproject-local/build/kernel
    09:49:38 P15v:kernel$ 

e35c39d0026c ANDROID: fix build error when use cpu_cgroup_online vh

6.4.0-0f6320f05b96  July 18, 2023
    0f6320f05b96 ANDROID: fix build error when use cpu_cgroup_online vh
    e35c39d0026c ANDROID: fix build error when use cpu_cgroup_online vh
    git checkout e35c39d0026c
    git submodule update --init --no-recommend-shallow

    [396 / 400] Building kernel (lto=default;notrim) @//common:db845c_no_kgdb; 46s linux-sandbox
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:269:13: Building kernel (lto=default;notrim) @//common:db845c_no_kgdb failed: (Exit 1): bash failed: error executing command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    ERROR: Unrecognized 6.4.0
    Target //common:db845c_dist failed to build
    Use --verbose_failures to see the command lines of failed build steps.
    ERROR: /home/liuyq/data/android/superproject-local/common/BUILD.bazel:334:17 Middleman _middlemen/common_Sdb845c_Udist-runfiles failed: (Exit 1): bash failed: error executing command (from target //common:db845c_no_kgdb) /bin/bash -c ... (remaining 1 argument skipped)

    Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
    INFO: Elapsed time: 385.762s, Critical Path: 354.22s
    INFO: 397 processes: 371 internal, 26 linux-sandbox.
    ERROR: Build did NOT complete successfully
    ERROR: Build failed. Not running target

6.4.0-7d6a96ddd574  July 14, 2023
6.4.0-1ee8780df56b  July 14, 2023 
6.4.0-de0991e4ed01  July 14, 2023 
6.4.0-1ad401ef290e  July 12, 2023 
6.4.0-aa6fa546ae5b  July 11, 2023 
6.4.0-e2d4d987f8f4  July 11, 2023 
6.4.0-c0a7947870ee  July 11, 2023 
6.4.0-b862f642f1b6  July 7, 2023
6.4.0-6e0d346f0e2f  July 6, 2023 
6.4.0-c61d338a3403  June 30, 2023 
6.4.0-71934a02dbca  June 28, 2023    ERROR: Unrecognized 6.4.0

6.4.0-cdef824f3de0  June 30, 2023 
6.4.0-rc7-e5e65575783e  June 30, 2023 
6.4.0-rc7-32f64e53cfdc  June 29, 2023 
6.4.0-rc7-c1815e9bf121  June 23, 2023 
6.4.0-rc7-20b92b3c9fa5  June 23, 2023 
6.4.0-rc7-30b7ec16c117  June 23, 2023 
6.4.0-rc7-c58d59e9d494  June 22, 2023 
6.4.0-rc7-a8a61755f677  June 28, 2023 
6.4.0-rc7-9bf4e4620ecc  June 20, 2023 
6.4.0-rc7-dc73f3eab1af  June 20, 2023 
6.4.0-rc2-faed5a25d92b  June 20, 2023
6.3.0-0bbe66a90b4f  June 17, 2023    ERROR: Unrecognized 6.3.0
    0bbe66a90b4f ANDROID: GKI: Include kheaders in gki_system_dlkm_modules
    4c739f264027 ANDROID: GKI: Include kheaders in gki_system_dlkm_modules

    git checkout 4c739f264027
    git submodule update --init --no-recommend-shallow

    $ git cherry-pick 10dfc6b4b157
    Auto-merging kleaf/impl/stamp.bzl
    [detached HEAD db235bc9adc8] kleaf: Always put -android_release-kmi_generation regardless of sha1.
     Author: Yifan Hong <elsk@google.com>
     Date: Fri Jul 14 18:53:55 2023 -0700
     1 file changed, 6 insertions(+), 8 deletions(-)
    10:22:44 P15v:kernel$ pwd
    /home/liuyq/data/android/superproject-local/build/kernel
    $ 

    no display on the hdmi monitor
    [  228.241331][  T585] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  229.156598][  T585] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  229.166103][  T585] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  229.175577][  T585] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  229.185042][  T585] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  229.194508][  T585] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  229.203277][  T585] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

0bbe66a90b4f ANDROID: GKI: Include kheaders in gki_system_dlkm_modules
d80f39a5aed7 ANDROID: GKI enable CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
dcb6f7c7211a UPSTREAM: maple_tree: make maple state reusable after mas_empty_area()
72afa0e11e9c Revert "Revert "mm/mmap: regression fix for unmapped_area{_topdown}""
0526833d4674 ANDROID: set CONFIG_IKHEADERS=m for gki_defconfig.
a0695ef8984c ANDROID: RISC-V: Support 32_PCREL relocation type in kernel module
b0acbba3f489 Revert "Revert "Revert "FROMLIST: kheaders: Follow symlinks to source files."""
81ce9a434387 Revert "Revert "FROMLIST: kheaders: Follow symlinks to source files.""
dd1740e7420f (tag: ASB-2023-06-05_mainline) ANDROID: gki_defconfig: enable CONFIG_LED_TRIGGER_PHY
18055715b2e9 Merge 91ec4b0d11fe ("Merge tag 'mips_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux") into android-mainline
1116c8fd4e78 ANDROID: debug_kinfo: fix build issues due to module memory logic change
bc39b3922b53 Merge b6a7828502dc ("Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux") into android-mainline
f6bfcb34b30c Revert "ANDROID: module: Add vendor hooks"
3ec98b81b191 UPSTREAM: cdx: fix build failure due to sysfs 'bus_type' argument needing to be const
03beeec52af4 Merge cec24b8b6bb8 ("Merge tag 'char-misc-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc") into android-mainline
cdd23c753171 ANDROID: usb: gadget: configfs: follow class_create() API change
    9b8a40ffc469 ANDROID: usb: gadget: configfs: follow class_create() API change
    git checkout 9b8a40ffc469
    git submodule update --init --no-recommend-shallow

    no display on hdmi monitor
    [  408.237291][  T514] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  409.153991][  T514] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  409.163558][  T514] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  409.173088][  T514] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  409.182565][  T514] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  409.192037][  T514] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  409.200802][  T514] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

0e6a2fe7138f Merge 556eb8b79190 ("Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core") into android-mainline
e43c2266f3b2 Merge 97b2ff294381 ("Merge tag 'staging-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging") into android-mainline
7e0806eae138 ANDROID: dm-default-key: update for blk_crypto_evict_key() API change
    3fc80e0ca1dc ANDROID: dm-default-key: update for blk_crypto_evict_key() API change
    git checkout 3fc80e0ca1dc
    git submodule update --init --no-recommend-shallow

    no display on hdmi monitor
    [  108.604648][  T524] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  108.613419][  T524] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [  109.516865][  T524] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  109.526406][  T524] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  109.535890][  T524] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  109.545361][  T524] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [  109.554828][  T524] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [  109.563595][  T524] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

f3170cbba601 ANDROID: update PCI dwc vendor entries sort order in gki_defconfig
e5638d1c2443 Merge "Merge b02847fc2e7a ("Merge tag 'firewire-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394") into android-mainline" into android-mainline
c9440d6849be Merge "Merge b68ee1c6131c ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") into android-mainline" into android-mainline
c0bb6216f7f2 Merge "Merge 0cfd8703e7da ("Merge tag 'pm-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm") into android-mainline" into android-mainline
    no display on hdmi monitor
    [   59.342546][  T489] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
    [   60.261780][  T489] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   60.271291][  T489] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   60.280770][  T489] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   60.290240][  T489] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
    [   60.299711][  T489] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
    [   60.308479][  T489] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119

42f0514a17ed Merge "Merge df45da57cbd3 ("Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") into android-mainline" into android-mainline
    575553a2dae0 Merge "Merge df45da57cbd3 ("Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") into android-mainline" into android-mainline
    git checkout 575553a2dae0
    git submodule update --init --no-recommend-shallow

    not reproduced, works fine here

3f6711f547cf ANDROID: power: wakeup_reason: change abort log
    aa6876eb9985 ANDROID: power: wakeup_reason: change abort log
    git checkout aa6876eb9985
    git submodule update --init --no-recommend-shallow

    not reproduced, works fine here

311db2be5ed4 ANDROID: GKI: Enable CONFIG_MODULE_SCMVERSION=y
1bf5e5e70d85 ANDROID: modules: re-introduce the MODULE_SCMVERSION config
2a495970a4cf Merge b02847fc2e7a ("Merge tag 'firewire-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394") into android-mainline
a80a01c8486a Merge b68ee1c6131c ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi") into android-mainline
1aa54e485b78 Merge 0cfd8703e7da ("Merge tag 'pm-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm") into android-mainline
221c2050a1a1 Merge df45da57cbd3 ("Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux") into android-mainline
3ee567fc882c Revert "FROMLIST: kheaders: Follow symlinks to source files."
    8560e9922624 Revert "FROMLIST: kheaders: Follow symlinks to source files."
    git checkout 8560e9922624
    git submodule update --init --no-recommend-shallow

    not reproduced, works fine here

988af76d5251 FROMLIST: kheaders: Follow symlinks to source files.
2a4fc73f7eb9 Merge 53b5e72b9d89 ("Merge tag 'asm-generic-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic") into android-mainline
93c19faf38ce Merge 18032df5ef5c ("Merge tag 'soc-arm-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") into android-mainline
5353cbb84fd8 Merge "Merge de10553fce40 ("Merge tag 'x86-apic-2023-04-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline" into android-mainline
1a5787e547f7 ANDROID: Disable BTI_KERNEL, enable UNWIND_PATCH_PAC_INTO_SCS
bbf887fdf309 ANDROID: revert scripts/setlocalversion to track upstream.
149e3a449bb1 Merge de10553fce40 ("Merge tag 'x86-apic-2023-04-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
1ef87dde39f5 Merge 3f614ab563c4 ("Merge tag 'irq-core-2023-04-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
bb4046cc73ea Merge bc1bb2a49bae ("Merge tag 'x86_sev_for_v6.4_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
64fd482e1aad Merge f7301270a29f ("Merge tag 'm68k-for-v6.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k") into android-mainline
969afefd014a Merge "Merge 3323ddce085c ("Merge tag 'v6.4/kernel.user_worker' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux") into android-mainline" into android-mainline
b3f95a3232a6 Merge "Merge c23f28975abc ("Merge tag 'docs-6.4' of git://git.lwn.net/linux") into android-mainline" into android-mainline
d3c9538cbbc5 ANDROID: fix up android selinux build break.
b16d4db4d7e2 Merge "Merge 72eaa0967b59 ("Merge tag 'selinux-pr-20230420' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux") into android-mainline" into android-mainline
d1b89fc517fd Merge 3323ddce085c ("Merge tag 'v6.4/kernel.user_worker' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux") into android-mainline
862d365830ea Merge c23f28975abc ("Merge tag 'docs-6.4' of git://git.lwn.net/linux") into android-mainline
91e9354a2b0f ANDROID: clang: update to 17.0.2
d3ff606b9b42 ANDROID: db845c: Remove MAKE_GOALS from build.config
8853c7995c99 ANDROID: fix up android selinux build break.
c2a10220866f Merge 72eaa0967b59 ("Merge tag 'selinux-pr-20230420' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux") into android-mainline
4ea7f8e5290e Merge a5624566431d ("Merge branch 'x86-rep-insns': x86 user copy clarifications") into android-mainline
6b893a535cfa ANDROID: GKI: gen_gki_modules_headers update preprocessing
dad4133ce566 ANDROID: kleaf: move NDK_TRIPLE for arm to build.config.constants.
ab7e63ef765d ANDROID: GKI: Remove MAKE_GOALS from build.config
3669a3205af3 (HEAD, tag: android-mainline-6.3) Revert "ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained"

6.3.0-3669a3205af3   AOSP android-mainline 6.3 prebuilt 
    3669a3205af3 (tag: android-mainline-6.3) Revert "ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained"
    2fc24a9a4b8f Revert "ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained"

    git checkout 2fc24a9a4b8f
    git submodule update --init --no-recommend-shallow

    not reproduced, works fine here
liuyq commented 2 weeks ago

c0bb6216f7f2 Merge "Merge 0cfd8703e7da ("Merge tag 'pm-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm") into android-mainline" into android-mainline no display on hdmi monitor

liuyq commented 2 weeks ago
$ git log --oneline --no-merges  42f0514a17ed..c0bb6216f7f2 drivers/gpu/drm/msm/
ac7e7c9c65ec drm/msm/dpu: drop unused macros from hw catalog
dac76a0144d3 drm/msm/dpu: fetch DPU configuration from match data
e5edf654536f drm/msm/dpu: inline IRQ_n_MASK defines
d16b77dd8658 drm/msm/dpu: drop duplicate vig_sblk instances
5a7e3c008d35 drm/msm/dpu: catalog: add comments regarding DPU_CTL_SPLIT_DISPLAY
8f41187a0649 drm/msm/dpu: use defined symbol for sc8280xp's maxwidth
463ba323aeb4 drm/msm/dpu: expand sm8550 catalog
5ce224840b9e drm/msm/dpu: expand sm6115 catalog
02538790a8d4 drm/msm/dpu: expand sc7180 catalog
2861ce202cd8 drm/msm/dpu: expand sc8180x catalog
9bea40825512 drm/msm/dpu: duplicate sm8350 catalog entries
586c11233ea8 drm/msm/dpu: duplicate sm8250 catalog entries
8589ccd71067 drm/msm/dpu: duplicate sm8150 catalog entries
7ea3e251a84e drm/msm/dpu: duplicate sc7180 catalog entries
460c410f02e4 drm/msm/dpu: duplicate sdm845 catalog entries
9a4425f404c3 drm/msm/dpu: split SDM845 catalog entry to the separate file
1c611c481e8d drm/msm/dpu: split MSM8998 catalog entry to the separate file
25035306871e drm/msm/dpu: split SM8150 catalog entry to the separate file
97e2c8037694 drm/msm/dpu: split SC8180X catalog entry to the separate file
2f36168e3257 drm/msm/dpu: split SM8250 catalog entry to the separate file
c9cd1552e95b drm/msm/dpu: split SC7180 catalog entry to the separate file
c22a42bd3eb7 drm/msm/dpu: split QCM2290 catalog entry to the separate file
01f2e9a70be1 drm/msm/dpu: split SM6115 catalog entry to the separate file
b8ece0c61e13 drm/msm/dpu: split SM8350 catalog entry to the separate file
f0f2c32a662c drm/msm/dpu: split SC7280 catalog entry to the separate file
225978f43986 drm/msm/dpu: split SC8280XP catalog entry to the separate file
9cc547933636 drm/msm/dpu: split SM8550 catalog entry to the separate file
fbbd8cce803a drm/msm/dpu: move UBWC/memory configuration to separate struct
ac1c5ed678e8 drm/msm/dpu: mark remaining pp data as const
fc4fcfb0744b drm/msm/dpu: constify DSC data structures
8399a5ff18dc drm/msm/dpu: Allow variable INTF_BLK size
8f940ddbc4f1 drm/msm/dpu: Allow variable SSPP_BLK size
db1072e1c38c drm/msm/mdp4: Remove empty prepare_commit() function
6fda1c9420f2 drm/msm/mdp5: set varaiable msm8x76_config storage-class-specifier to static
50da84c091a6 drm/msm/dsi: Remove custom DSI config handling
da9887adffd6 drm/msm/dsi: Switch the QCM2290-specific compatible to index autodetection
eef01b4e9808 drm/msm/dp: Fix spelling mistake "Capabiity" -> "Capability"
61dbf8d2e7c2 drm/msm/dsi: dsi_cfg: Merge SC7180 config into SDM845
5da326f4232d drm/msm/dsi: dsi_cfg: Deduplicate identical structs
bfc12020e63d drm/msm/dp: Return IRQ_NONE for unhandled interrupts
ff83e76b0fcb drm/msm/dsi: Fix DSI index detection when version clash occurs
b20566cdef05 drm/msm/dp: Clean up handling of DP AUX interrupts
3c606134342e drm/msm/dsi: Get rid of msm_dsi_config::num_dsi
c6c6556857e2 msm/disp/dpu: allow atomic_check in PSR usecase
501bd8dea55d drm/msm/dpu: set dirty_fb flag while in self refresh mode
82836692d5d7 drm/msm/dpu: manage DPU resources if CTM is requested
f4eddf1d7874 drm/msm/dpu: avoid unnecessary check in DPU reservations
8aa22aaa1fc3 drm/msm/dpu: add DSPPs into reservation upon a CTM request
4760be481dc0 drm/msm/dpu: Fix bit-shifting UB in DPU_HW_VER() macro
27cfd5d7340e drm/msm/dpu: remove unused dpu_plane_validate_multirect_v2 function
b7bb8967aa12 drm/msm/dpu: log the multirect_index in _dpu_crtc_blend_setup_pipe
dcb3f7c9042d drm/msm/dpu: drop smart_dma_rev from dpu_caps
8b409996ebdc drm/msm/dpu: populate SmartDMA features in hw catalog
80e8ae3b38ab drm/msm/dpu: add support for wide planes
dc0b5a61d2d5 drm/msm/dpu: split pipe handling from _dpu_crtc_blend_setup_mixer
6270e5240227 drm/msm/dpu: rework static color fill code
ea2d3612fdf9 drm/msm/dpu: rework plane CSC setting
6d7e1ca701df drm/msm/dpu: rework dpu_plane_atomic_check()
27653c574ad4 drm/msm/dpu: rework dpu_plane_sspp_atomic_update()
55d3f857dde6 drm/msm/dpu: simplify dpu_plane_validate_src()
6e0ce9ec184a drm/msm/dpu: add dpu_hw_sspp_cfg to dpu_plane_state
7c68ed04c389 drm/msm/dpu: make _dpu_plane_calc_clk accept mode directly
7b5c207a4f1d drm/msm/dpu: rewrite plane's QoS-related functions to take dpu_sw_pipe and dpu_format
f2bf133f7fcc drm/msm/dpu: drop redundant plane dst check from dpu_crtc_atomic_check()
bbc2c7bd7f19 drm/msm/dpu: move the rest of plane checks to dpu_plane_atomic_check()
a1d38f1152c5 drm/msm/dpu: don't use unsupported blend stages
e35f68d18bad drm/msm/dpu: drop src_split and multirect check from dpu_crtc_atomic_check
0d06fb9068fd drm/msm/dpu: rename dpu_hw_sspp_cfg to dpu_sw_pipe_cfg
dfdc94e4934b drm/msm/dpu: remove dpu_hw_fmt_layout from struct dpu_hw_sspp_cfg
62791e695e03 drm/msm/dpu: move stride programming to dpu_hw_sspp_setup_sourceaddress
0cb17768bc6b drm/msm/dpu: clean up SRC addresses when setting up SSPP for solid fill
6edb12d119e2 drm/msm/dpu: pass dpu_format to _dpu_hw_sspp_setup_scaler3()
74fd7fda0f1f drm/msm/dpu: use dpu_sw_pipe for dpu_hw_sspp callbacks
3cfcd1307af8 drm/msm/dpu: introduce struct dpu_sw_pipe
19e98654e7a4 drm/msm/dpu: drop dpu_plane_pipe function
7f38ec140d9c drm/msm/dpu: move pipe_hw to dpu_plane_state
5d1b072aa89c drm/msm/dpu: drop EAGAIN check from dpu_format_populate_layout
dab5ace44cda drm/msm/dpu: move SSPP debugfs creation to dpu_kms.c
64caf60dd9f7 drm/msm/dpu: move SSPP allocation to the RM
b187794e70d5 drm/msm/dpu: rename struct dpu_hw_pipe(_cfg) to dpu_hw_sspp(_cfg)
ffbbed63e645 drm/msm/dpu: Add support for AR30 format
83a58b20c9b3 drm/msm/disp/dpu1: add support for dspp sub block flush in sc7280
51aeb3997feb drm/msm/dpu: Remove empty prepare_commit() function
6ec593812f9c drm/msm/mdss: Fix spelling mistake "Unuspported" -> "Unsupported"
677b64577f81 drm/msm/dpu: Move TE setup to prepare_for_kickoff()
940b869c2f2f drm/msm: Implement fbdev emulation as in-kernel client
841ef552b141 drm/msm: Initialize fbdev DRM client
6479f5b4e5a8 drm/msm: Move module parameter 'fbdev' to fbdev code
e13446341f97 drm/msm: Remove fbdev from struct msm_drm_private
b0b3d253eb7f drm/msm: Remove struct msm_fbdev
0c8d263957f1 drm/msm: Remove fb from struct msm_fbdev
3aa4e828be97 drm/msm: Clear aperture ownership outside of fbdev code
25c83fd999e6 drm/msm: Include <linux/io.h>
4969bccd5f4e drm/msm: Avoid rounding down to zero jiffies
b92e01b4eaaa drm/msm: Use drm_sched_job_add_syncobj_dependency()
648cb68309e3 drm/msm: move include directive
a75b49db6529 drm/msm: fix workqueue leak on bind errors
ca090c837b43 drm/msm: fix missing wq allocation error handling
60d476af9601 drm/msm: fix vram leak on bind errors
214b09db6197 drm/msm: fix drm device leak on bind errors
cd459c005de3 drm/msm: fix NULL-deref on irq uninstall
a465353b9250 drm/msm: fix NULL-deref on snapshot tear down
652eadfde810 Revert "drm/msm: Fix failure paths in msm_drm_init()"
dfa70344d1b5 Revert "drm/msm: Add missing check and destroy for alloc_ordered_workqueue"
9cffae4a130c drm/msm/mdss: add the sdm845 data for completeness
aeff6bb5b1ef drm/msm/mdss: add data for sc8180xp
d68db6069a8e drm/msm/mdss: convert UBWC setup to use match data
078f6ec8657d drm/msm: Check for NULL before calling prepare_commit()
3eeca5e5f310 drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error
0332bd042eb6 drm/msm/adreno: adreno_gpu: Don't set OPP scaling clock w/ GMU
63899a73190c drm/msm/a6xx: Add support for A650 speed binning
9a06cd9a0fd7 drm/msm/a6xx: Add support for A640 speed binning
780668dfefa0 drm/msm/a5xx: add devcoredump support to the fault handler
f62ad0f6f4dd drm/msm/adreno: split a6xx fault handler into generic and a6xx parts
8cceb773f565 drm/msm/adreno: stall translation on fault for all GPU families
52ff0d3073d2 drm/msm/atomic: Switch to vblank_start helper
b5a24e13c8c8 drm/msm: Add wait-boost support
f8b8487c0756 drm/msm: Add deadline based boost support
7fa5047a436b drm: Use of_property_present() for testing DT property presence
8559da8fdfe5 drm/msm/a6xx: Move ioremap out of hw_init path
8ead96783163 drm/msm/gpu: Move BO allocation out of hw_init
624831b3fa3b drm/msm/gpu: Move fw loading out of hw_init() path
44c200876a45 drm/msm: Use idr_preload()
e4f020c6a05d drm/msm: Switch idr_lock to spinlock
17b704f1c0fb drm/msm/gem: Avoid obj lock in job_run()
6c7c8fb863f7 drm/msm/gem: Protect pin_count/madv by LRU lock
4a02a376cbc8 drm/msm/gem: Move update_lru()
d6ae7d1cd58e drm/msm/gem: Simplify vmap vs LRU tracking
b14b8c5f0eaf drm/msm: Decouple vma tracking from obj lock
fc2f07566a2c drm/msm/gem: Tidy up VMA API
769fec1e4f91 drm/msm: Move submit bo flags update from obj lock
f94e6a51e17c drm/msm: Pre-allocate hw_fence
24a967194238 drm/msm/a6xx: add CONFIG_PM dependency
f73343fae5fb drm/msm: Update generated headers
f0c3a66f0e86 drm/msm/a6xx: Some reg64 conversion
010c8bbad2cb drm: msm: adreno: Disable preemption on Adreno 510
eaa667db35a0 drm/msm/adreno: clean up component ops indentation
db7662d076c9 drm/msm/adreno: drop bogus pm_runtime_set_active()
0d997f95b70f drm/msm/adreno: fix runtime PM imbalance at gpu load
8d2600470e9e drm/msm/adreno: Enable optional icc voting from OPP tables
b41e83732b48 drm/msm/a4xx: Implement .gpu_busy
a9cf6e7fc3f1 drm/msm/a3xx: Implement .gpu_busy
9f251f934012 drm/msm/adreno: Use OPP for every GPU generation
c11fa1204fe9 drm/msm/a6xx: Use genpd notifier to ensure cx-gdsc collapse
d48430122509 drm/msm/a6xx: Remove cx gdsc polling using 'reset'
ead5d3e5eb37 drm/msm/a6xx: Vote for cx gdsc from gpu driver
1844e680d56b drm/msm/dp: set self refresh aware based on PSR support
f7e0b3c292ec drm/msm/disp/dpu: update dpu_enc crtc state on crtc enable/disable during self refresh
1122697810e5 drm/msm/disp/dpu: add PSR support for eDP interface in dpu driver
c0cd12a5d29f drm/msm/disp/dpu: use atomic enable/disable callbacks for encoder functions
05d001352733 drm/msm/dp: use the eDP bridge ops to validate eDP modes
cd779808cccd drm/msm/dp: Add basic PSR support for eDP
cdfd0e6246c4 drm/msm/dp: use atomic callbacks for DP bridge ops
22cb02bc96ff drm/msm/disp/dpu: reset the datapath after timing engine disable
8e1ff4bb629f drm/msm/disp/dpu: wait for extra vsync till timing engine status is disabled
e3969eadc8ee drm/msm/disp/dpu: get timing engine status from intf status register
b6975693846b drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
$ 
liuyq commented 2 weeks ago
$ git status
HEAD detached at c0bb6216f7f2
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h
    modified:   drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h

21:10:05 P15v:common$ 

db845c-c0bb6216f7f2-work-2024-04-30-00-56.patch.gz

db845c-c0bb6216f7f2-work-2024-04-29-15-06.patch.gz

liuyq commented 2 weeks ago

CONFIG_DRM_MSM: MSM DRM drivers/gpu/drm/msm msm.ko

CONFIG_DRM_MSM_DSI: CONFIG_DRM_MSM_DSI Choose this option if you have a need for MIPI DSI connector support.

msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \ dsi/dsi_cfg.o \ dsi/dsi_host.o \ dsi/dsi_manager.o \ dsi/phy/dsi_phy.o

CONFIG_DRM_MSM_DSI_28NM_PHY: Enable DSI 28nm PHY driver in MSM DRM Choose this option if the 28nm DSI PHY is used on the platform.

CONFIG_DRM_MSM_DSI_10NM_PHY: Enable DSI 10nm PHY driver in MSM DRM (used by SDM845) Choose this option if DSI PHY on SDM845 is used on the platform.

msm-$(CONFIG_DRM_MSM_DSI_28NM_PHY) += dsi/phy/dsi_phy_28nm.o msm-$(CONFIG_DRM_MSM_DSI_20NM_PHY) += dsi/phy/dsi_phy_20nm.o msm-$(CONFIG_DRM_MSM_DSI_28NM_8960_PHY) += dsi/phy/dsi_phy_28nm_8960.o msm-$(CONFIG_DRM_MSM_DSI_14NM_PHY) += dsi/phy/dsi_phy_14nm.o msm-$(CONFIG_DRM_MSM_DSI_10NM_PHY) += dsi/phy/dsi_phy_10nm.o msm-$(CONFIG_DRM_MSM_DSI_7NM_PHY) += dsi/phy/dsi_phy_7nm.o

Enable MDP4 support in MSM DRM driver

  Compile in support for the Mobile Display Processor v4 (MDP4) in
  the MSM DRM driver. It is the older display controller found in
  devices using APQ8064/MSM8960/MSM8x60 platforms.

msm-$(CONFIG_DRM_MSM_MDP4) += \ disp/mdp4/mdp4_crtc.o \ disp/mdp4/mdp4_dsi_encoder.o \ disp/mdp4/mdp4_dtv_encoder.o \ disp/mdp4/mdp4_lcdc_encoder.o \ disp/mdp4/mdp4_lvds_connector.o \ disp/mdp4/mdp4_lvds_pll.o \ disp/mdp4/mdp4_irq.o \ disp/mdp4/mdp4_kms.o \ disp/mdp4/mdp4_plane.o \

Enable MDP5 support in MSM DRM driver

  Compile in support for the Mobile Display Processor v5 (MDP5) in
  the MSM DRM driver. It is the display controller found in devices
  using e.g. APQ8016/MSM8916/APQ8096/MSM8996/MSM8974/SDM6x0 platforms.

msm-$(CONFIG_DRM_MSM_MDP5) += \ disp/mdp5/mdp5_cfg.o \ disp/mdp5/mdp5_cmd_encoder.o \ disp/mdp5/mdp5_ctl.o \ disp/mdp5/mdp5_crtc.o \ disp/mdp5/mdp5_encoder.o \ disp/mdp5/mdp5_irq.o \ disp/mdp5/mdp5_kms.o \ disp/mdp5/mdp5_pipe.o \ disp/mdp5/mdp5_mixer.o \ disp/mdp5/mdp5_plane.o \ disp/mdp5/mdp5_smp.o \

CONFIG_DRM_MSM_DP

Enable DisplayPort support in MSM DRM driver

  Compile in support for DP driver in MSM DRM driver. DP external
  display support is enabled through this config option. It can
  be primary or secondary display on device.

CONFIG_DRM_MSM_DSI

Enable DSI support in MSM DRM driver

  Choose this option if you have a need for MIPI DSI connector
  support.

"Enable DPU support in MSM DRM driver"

Compile in support for the Display Processing Unit in
  the MSM DRM driver. It is the display controller found in devices
  using e.g. SDM845 and newer platforms.

msm-$(CONFIG_DRM_MSM_DPU) += \ disp/dpu1/dpu_core_perf.o \ disp/dpu1/dpu_crtc.o \ disp/dpu1/dpu_encoder.o \ disp/dpu1/dpu_encoder_phys_cmd.o \ disp/dpu1/dpu_encoder_phys_vid.o \ disp/dpu1/dpu_encoder_phys_wb.o \ disp/dpu1/dpu_formats.o \ disp/dpu1/dpu_hw_catalog.o \ disp/dpu1/dpu_hw_ctl.o \ disp/dpu1/dpu_hw_dsc.o \ disp/dpu1/dpu_hw_interrupts.o \ disp/dpu1/dpu_hw_intf.o \ disp/dpu1/dpu_hw_lm.o \ disp/dpu1/dpu_hw_pingpong.o \ disp/dpu1/dpu_hw_sspp.o \ disp/dpu1/dpu_hw_dspp.o \ disp/dpu1/dpu_hw_merge3d.o \ disp/dpu1/dpu_hw_top.o \ disp/dpu1/dpu_hw_util.o \ disp/dpu1/dpu_hw_vbif.o \ disp/dpu1/dpu_hw_wb.o \ disp/dpu1/dpu_kms.o \ disp/dpu1/dpu_plane.o \ disp/dpu1/dpu_rm.o \ disp/dpu1/dpu_vbif.o \ disp/dpu1/dpu_writeback.o

liuyq commented 1 week ago

https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/hardware-docs/files/rb3-hardware-user-manual.PDF

Display     Two 4-lane DSI, D-PHY 1.2 or C-PHY 1.0; VESA DSC 1.1 1 x HDMI 1.4 (Type A -full) connector
liuyq commented 1 week ago
$ git log --oneline --no-merges 42f0514a17ed..c0bb6216f7f2 drivers/gpu/drm/msm/disp/dpu1/
ac7e7c9c65ec drm/msm/dpu: drop unused macros from hw catalog
dac76a0144d3 drm/msm/dpu: fetch DPU configuration from match data
e5edf654536f drm/msm/dpu: inline IRQ_n_MASK defines
d16b77dd8658 drm/msm/dpu: drop duplicate vig_sblk instances
5a7e3c008d35 drm/msm/dpu: catalog: add comments regarding DPU_CTL_SPLIT_DISPLAY
8f41187a0649 drm/msm/dpu: use defined symbol for sc8280xp's maxwidth
463ba323aeb4 drm/msm/dpu: expand sm8550 catalog
5ce224840b9e drm/msm/dpu: expand sm6115 catalog
02538790a8d4 drm/msm/dpu: expand sc7180 catalog
2861ce202cd8 drm/msm/dpu: expand sc8180x catalog
9bea40825512 drm/msm/dpu: duplicate sm8350 catalog entries
586c11233ea8 drm/msm/dpu: duplicate sm8250 catalog entries
8589ccd71067 drm/msm/dpu: duplicate sm8150 catalog entries
7ea3e251a84e drm/msm/dpu: duplicate sc7180 catalog entries
460c410f02e4 drm/msm/dpu: duplicate sdm845 catalog entries
9a4425f404c3 drm/msm/dpu: split SDM845 catalog entry to the separate file
1c611c481e8d drm/msm/dpu: split MSM8998 catalog entry to the separate file
25035306871e drm/msm/dpu: split SM8150 catalog entry to the separate file
97e2c8037694 drm/msm/dpu: split SC8180X catalog entry to the separate file
2f36168e3257 drm/msm/dpu: split SM8250 catalog entry to the separate file
c9cd1552e95b drm/msm/dpu: split SC7180 catalog entry to the separate file
c22a42bd3eb7 drm/msm/dpu: split QCM2290 catalog entry to the separate file
01f2e9a70be1 drm/msm/dpu: split SM6115 catalog entry to the separate file
b8ece0c61e13 drm/msm/dpu: split SM8350 catalog entry to the separate file
f0f2c32a662c drm/msm/dpu: split SC7280 catalog entry to the separate file
225978f43986 drm/msm/dpu: split SC8280XP catalog entry to the separate file
9cc547933636 drm/msm/dpu: split SM8550 catalog entry to the separate file
fbbd8cce803a drm/msm/dpu: move UBWC/memory configuration to separate struct
ac1c5ed678e8 drm/msm/dpu: mark remaining pp data as const
fc4fcfb0744b drm/msm/dpu: constify DSC data structures
8399a5ff18dc drm/msm/dpu: Allow variable INTF_BLK size
8f940ddbc4f1 drm/msm/dpu: Allow variable SSPP_BLK size
c6c6556857e2 msm/disp/dpu: allow atomic_check in PSR usecase
501bd8dea55d drm/msm/dpu: set dirty_fb flag while in self refresh mode
f4eddf1d7874 drm/msm/dpu: avoid unnecessary check in DPU reservations
8aa22aaa1fc3 drm/msm/dpu: add DSPPs into reservation upon a CTM request
4760be481dc0 drm/msm/dpu: Fix bit-shifting UB in DPU_HW_VER() macro
27cfd5d7340e drm/msm/dpu: remove unused dpu_plane_validate_multirect_v2 function
b7bb8967aa12 drm/msm/dpu: log the multirect_index in _dpu_crtc_blend_setup_pipe
dcb3f7c9042d drm/msm/dpu: drop smart_dma_rev from dpu_caps
8b409996ebdc drm/msm/dpu: populate SmartDMA features in hw catalog
80e8ae3b38ab drm/msm/dpu: add support for wide planes
dc0b5a61d2d5 drm/msm/dpu: split pipe handling from _dpu_crtc_blend_setup_mixer
6270e5240227 drm/msm/dpu: rework static color fill code
ea2d3612fdf9 drm/msm/dpu: rework plane CSC setting
6d7e1ca701df drm/msm/dpu: rework dpu_plane_atomic_check()
27653c574ad4 drm/msm/dpu: rework dpu_plane_sspp_atomic_update()
55d3f857dde6 drm/msm/dpu: simplify dpu_plane_validate_src()
6e0ce9ec184a drm/msm/dpu: add dpu_hw_sspp_cfg to dpu_plane_state
7c68ed04c389 drm/msm/dpu: make _dpu_plane_calc_clk accept mode directly
7b5c207a4f1d drm/msm/dpu: rewrite plane's QoS-related functions to take dpu_sw_pipe and dpu_format
f2bf133f7fcc drm/msm/dpu: drop redundant plane dst check from dpu_crtc_atomic_check()
bbc2c7bd7f19 drm/msm/dpu: move the rest of plane checks to dpu_plane_atomic_check()
a1d38f1152c5 drm/msm/dpu: don't use unsupported blend stages
e35f68d18bad drm/msm/dpu: drop src_split and multirect check from dpu_crtc_atomic_check
0d06fb9068fd drm/msm/dpu: rename dpu_hw_sspp_cfg to dpu_sw_pipe_cfg
dfdc94e4934b drm/msm/dpu: remove dpu_hw_fmt_layout from struct dpu_hw_sspp_cfg
62791e695e03 drm/msm/dpu: move stride programming to dpu_hw_sspp_setup_sourceaddress
0cb17768bc6b drm/msm/dpu: clean up SRC addresses when setting up SSPP for solid fill
6edb12d119e2 drm/msm/dpu: pass dpu_format to _dpu_hw_sspp_setup_scaler3()
74fd7fda0f1f drm/msm/dpu: use dpu_sw_pipe for dpu_hw_sspp callbacks
3cfcd1307af8 drm/msm/dpu: introduce struct dpu_sw_pipe
19e98654e7a4 drm/msm/dpu: drop dpu_plane_pipe function
7f38ec140d9c drm/msm/dpu: move pipe_hw to dpu_plane_state
5d1b072aa89c drm/msm/dpu: drop EAGAIN check from dpu_format_populate_layout
dab5ace44cda drm/msm/dpu: move SSPP debugfs creation to dpu_kms.c
64caf60dd9f7 drm/msm/dpu: move SSPP allocation to the RM
b187794e70d5 drm/msm/dpu: rename struct dpu_hw_pipe(_cfg) to dpu_hw_sspp(_cfg)
ffbbed63e645 drm/msm/dpu: Add support for AR30 format
83a58b20c9b3 drm/msm/disp/dpu1: add support for dspp sub block flush in sc7280
51aeb3997feb drm/msm/dpu: Remove empty prepare_commit() function
677b64577f81 drm/msm/dpu: Move TE setup to prepare_for_kickoff()
52ff0d3073d2 drm/msm/atomic: Switch to vblank_start helper

f7e0b3c292ec drm/msm/disp/dpu: update dpu_enc crtc state on crtc enable/disable during self refresh
1122697810e5 drm/msm/disp/dpu: add PSR support for eDP interface in dpu driver
c0cd12a5d29f drm/msm/disp/dpu: use atomic enable/disable callbacks for encoder functions
22cb02bc96ff drm/msm/disp/dpu: reset the datapath after timing engine disable
8e1ff4bb629f drm/msm/disp/dpu: wait for extra vsync till timing engine status is disabled
e3969eadc8ee drm/msm/disp/dpu: get timing engine status from intf status register
b6975693846b drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
19:03:40 P15v:common$ 
#!/bin/bash -ex

# git log --oneline --no-merges 42f0514a17ed..c0bb6216f7f2 drivers/gpu/drm/msm/disp/dpu1/|tac | sed "s|^\([^ ]* \)|apply_patch \1# |"
function apply_patch(){
    local commit_id="${1}"
    patch -p1 -i $(git format-patch -n1 "${commit_id}")
}

#a1d38f1152c5 drm/msm/dpu: don't use unsupported blend stages
liuyq commented 1 week ago

the hdmi switch needs to be turned off support for dual-DSI lt9611 was merged in 6.5 https://lore.kernel.org/linux-arm-msm/20230118081658.2198520-1-dmitry.baryshkov@linaro.org/ https://lore.kernel.org/linux-arm-msm/20230504160430.4014206-1-dmitry.baryshkov@linaro.org/

liuyq commented 5 days ago

turning off the hdmi swith resolves the issue