1. 21 Jan, 2023 4 commits
  2. 18 Jan, 2023 5 commits
  3. 12 Jan, 2023 25 commits
  4. 08 Jan, 2023 3 commits
  5. 05 Jan, 2023 3 commits
    • Akhil P Oommen's avatar
      drm/msm/a6xx: Avoid gx gbit halt during rpm suspend · f4a75b59
      Akhil P Oommen authored
      As per the downstream driver, gx gbif halt is required only during
      recovery sequence. So lets avoid it during regular rpm suspend.
      Signed-off-by: default avatarAkhil P Oommen <quic_akhilpo@quicinc.com>
      Patchwork: https://patchwork.freedesktop.org/patch/515279/
      Link: https://lore.kernel.org/r/20221216223253.1.Ice9c47bfeb1fddb8dc377a3491a043a3ee7fca7d@changeidSigned-off-by: default avatarRob Clark <robdclark@chromium.org>
      f4a75b59
    • Konrad Dybcio's avatar
      drm/msm/adreno: Make adreno quirks not overwrite each other · 13ef096e
      Konrad Dybcio authored
      So far the adreno quirks have all been assigned with an OR operator,
      which is problematic, because they were assigned consecutive integer
      values, which makes checking them with an AND operator kind of no bueno..
      
      Switch to using BIT(n) so that only the quirks that the programmer chose
      are taken into account when evaluating info->quirks & ADRENO_QUIRK_...
      
      Fixes: 370063ee ("drm/msm/adreno: Add A540 support")
      Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
      Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
      Reviewed-by: default avatarAkhil P Oommen <quic_akhilpo@quicinc.com>
      Patchwork: https://patchwork.freedesktop.org/patch/516456/
      Link: https://lore.kernel.org/r/20230102100201.77286-1-konrad.dybcio@linaro.orgSigned-off-by: default avatarRob Clark <robdclark@chromium.org>
      13ef096e
    • Dmitry Baryshkov's avatar
      drm/msm: another fix for the headless Adreno GPU · 00dd060a
      Dmitry Baryshkov authored
      Fix another oops reproducible when rebooting the board with the Adreno
      GPU working in the headless mode (e.g. iMX platforms).
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read
      [00000000] *pgd=74936831, *pte=00000000, *ppte=00000000
      Internal error: Oops: 17 [#1] ARM
      CPU: 0 PID: 51 Comm: reboot Not tainted 6.2.0-rc1-dirty #11
      Hardware name: Freescale i.MX53 (Device Tree Support)
      PC is at msm_atomic_commit_tail+0x50/0x970
      LR is at commit_tail+0x9c/0x188
      pc : [<c06aa430>]    lr : [<c067a214>]    psr: 600e0013
      sp : e0851d30  ip : ee4eb7eb  fp : 00090acc
      r10: 00000058  r9 : c2193014  r8 : c4310000
      r7 : c4759380  r6 : 07bef61d  r5 : 00000000  r4 : 00000000
      r3 : c44cc440  r2 : 00000000  r1 : 00000000  r0 : 00000000
      Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
      Control: 10c5387d  Table: 74910019  DAC: 00000051
      Register r0 information: NULL pointer
      Register r1 information: NULL pointer
      Register r2 information: NULL pointer
      Register r3 information: slab kmalloc-1k start c44cc400 pointer offset 64 size 1024
      Register r4 information: NULL pointer
      Register r5 information: NULL pointer
      Register r6 information: non-paged memory
      Register r7 information: slab kmalloc-128 start c4759380 pointer offset 0 size 128
      Register r8 information: slab kmalloc-2k start c4310000 pointer offset 0 size 2048
      Register r9 information: non-slab/vmalloc memory
      Register r10 information: non-paged memory
      Register r11 information: non-paged memory
      Register r12 information: non-paged memory
      Process reboot (pid: 51, stack limit = 0xc80046d9)
      Stack: (0xe0851d30 to 0xe0852000)
      1d20:                                     c4759380 fbd77200 000005ff 002b9c70
      1d40: c4759380 c4759380 00000000 07bef61d 00000600 c0d6fe7c c2193014 00000058
      1d60: 00090acc c067a214 00000000 c4759380 c4310000 00000000 c44cc854 c067a89c
      1d80: 00000000 00000000 00000000 c4310468 00000000 c4759380 c4310000 c4310468
      1da0: c4310470 c0643258 c4759380 00000000 00000000 c0c4ee24 00000000 c44cc810
      1dc0: 00000000 c0c4ee24 00000000 c44cc810 00000000 0347d2a8 e0851e00 e0851e00
      1de0: c4759380 c067ad20 c4310000 00000000 c44cc810 c27f8718 c44cc854 c067adb8
      1e00: c4933000 00000002 00000001 00000000 00000000 c2130850 00000000 c2130854
      1e20: c25fc488 00000000 c0ff162c 00000000 00000001 00000002 00000000 00000000
      1e40: c43102c0 c43102c0 00000000 0347d2a8 c44cc810 c44cc814 c2133da8 c06d1a60
      1e60: 00000000 00000000 00079028 c2012f24 fee1dead c4933000 00000058 c01431e4
      1e80: 01234567 c0143a20 00000000 00000000 00000000 00000000 00000000 00000000
      1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1f40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      1f80: 00000000 00000000 00000000 0347d2a8 00000002 00000004 00000078 00000058
      1fa0: c010028c c0100060 00000002 00000004 fee1dead 28121969 01234567 00079028
      1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc
      1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6 600e0030 fee1dead 00000000 00000000
       msm_atomic_commit_tail from commit_tail+0x9c/0x188
       commit_tail from drm_atomic_helper_commit+0x160/0x188
       drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe0
       drm_atomic_commit from drm_atomic_helper_disable_all+0x1b0/0x1c0
       drm_atomic_helper_disable_all from drm_atomic_helper_shutdown+0x88/0x140
       drm_atomic_helper_shutdown from device_shutdown+0x16c/0x240
       device_shutdown from kernel_restart+0x38/0x90
       kernel_restart from __do_sys_reboot+0x174/0x224
       __do_sys_reboot from ret_fast_syscall+0x0/0x1c
      Exception stack(0xe0851fa8 to 0xe0851ff0)
      1fa0:                   00000002 00000004 fee1dead 28121969 01234567 00079028
      1fc0: 00000002 00000004 00000078 00000058 0002fdc5 00000000 00000000 00090acc
      1fe0: 00000058 becc9c64 b6e97e05 b6e0e5f6
      Code: 15922088 1184421c e1500003 1afffff8 (e5953000)
      ---[ end trace 0000000000000000 ]---
      
      Fixes: 0a58d2ae ("drm/msm: Make .remove and .shutdown HW shutdown consistent")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
      Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
      Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
      Patchwork: https://patchwork.freedesktop.org/patch/516909/
      Link: https://lore.kernel.org/r/20230105014743.1478110-1-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
      00dd060a