1. 25 Nov, 2022 1 commit
  2. 24 Nov, 2022 30 commits
  3. 23 Nov, 2022 3 commits
  4. 22 Nov, 2022 4 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2022-11-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 3d335a52
      Dave Airlie authored
      GVT Changes:
      - gvt-next stuff mostly with refactor for the new MDEV interface.
      
      i915 Changes:
      - PSR fixes and improvements (Jouni)
      - DP DSC fixes (Vinod, Jouni)
      - More general display cleanups (Jani)
      - More display collor management cleanup targetting degamma (Ville)
      - remove circ_buf.h includes (Jiri)
      - wait power off delay at driver remove to optimize probe (Jani)
      - More audio cleanup targeting the ELD precompute readout (Ville)
      - Enable DC power states on all eDP ports (Imre)
      - RPL-P stepping info (Matt Atwood)
      - MTL enabling patches (RK)
      - Removal of DG2 force_probe (Matt)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y3f71obyEkImXoUF@intel.com
      3d335a52
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2022-11-18' of... · 242eb7b0
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2022-11-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Core Changes:
      
      - Backmerge of drm-next
      
      Driver Changes:
      
      - Restore probe_range behaviour for userptr (Matt A)
      - Fix use-after-free on lmem_userfault_list (Matt A)
      - Never purge busy TTM objects (Matt A)
      - Meteorlake enabling (Daniele, Badal, Daniele, Stuart, Aravind, Alan)
      - Demote GuC kernel contexts to normal priority (John)
      
      - Use RC6 residency types as arguments to residency functions (Ashutosh,
        Rodrigo, Jani)
      - Convert some legacy DRM debugging macros to new ones (Tvrtko)
      - Don't deadlock GuC busyness stats vs reset (John)
      - Remove excessive line feeds in GuC state dumps (John)
      - Use i915_sg_dma_sizes() for all backends (Matt A)
      - Prefer REG_FIELD_GET in intel_rps_get_cagf (Ashutosh, Rodrigo)
      - Use GEN12_RPSTAT register for GT freq (Don, Badal, Ashutosh)
      - Remove unwanted TTM ghost obj check (Matt A)
      - Update workaround documentation (Lucas)
      
      - Coding style and static checker fixes and cleanups
        (Jani, Umesh, Tvrtko, Lucas, Andrzej)
      - Selftest improvements (Chris, Daniele, Riana, Andrzej)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/Y3dMd9HDpfDehhWm@jlahtine-mobl.ger.corp.intel.com
      242eb7b0
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.2-2022-11-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · fc58764b
      Dave Airlie authored
      amd-drm-next-6.2-2022-11-18:
      
      amdgpu:
      - SR-IOV fixes
      - Clean up DC checks
      - DCN 3.2.x fixes
      - DCN 3.1.x fixes
      - Don't enable degamma on asics which don't support it
      - IP discovery fixes
      - BACO fixes
      - Fix vbios allocation handling when vkms is enabled
      - Drop buggy tdr advanced mode GPU reset handling
      - Fix the build when DCN is not set in kconfig
      - MST DSC fixes
      - Userptr fixes
      - FRU and RAS EEPROM fixes
      - VCN 4.x RAS support
      - Aldrebaran CU occupancy reporting fix
      - PSP ring cleanup
      
      amdkfd:
      - Memory limit fix
      - Enable cooperative launch on gfx 10.3
      
      amd-drm-next-6.2-2022-11-11:
      
      amdgpu:
      - SMU 13.x updates
      - GPUVM TLB race fix
      - DCN 3.1.4 updates
      - DCN 3.2.x updates
      - PSR fixes
      - Kerneldoc fix
      - Vega10 fan fix
      - GPUVM locking fixes in error pathes
      - BACO fix for Beige Goby
      - EEPROM I2C address cleanup
      - GFXOFF fix
      - Fix DC memory leak in error pathes
      - Flexible array updates
      - Mtype fix for GPUVM PTEs
      - Move Kconfig into amdgpu directory
      - SR-IOV updates
      - Fix possible memory leak in CS IOCTL error path
      
      amdkfd:
      - Fix possible memory overrun
      - CRIU fixes
      
      radeon:
      - ACPI ref count fix
      - HDA audio notifier support
      - Move Kconfig into radeon directory
      
      UAPI:
      - Add new GEM_CREATE flags to help to transition more KFD functionality to the DRM UAPI.
        These are used internally in the driver to align location based memory coherency
        requirements from memory allocated in the KFD with how we manage GPUVM PTEs.  They
        are currently blocked in the GEM_CREATE IOCTL as we don't have a user right now.
        They are just used internally in the kernel driver for now for existing KFD memory
        allocations. So a change to the UAPI header, but no functional change in the UAPI.
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221118170807.6505-1-alexander.deucher@amd.comSigned-off-by: default avatarDave Airlie <airlied@redhat.com>
      fc58764b
    • Dave Airlie's avatar
      Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next · 819683a1
      Dave Airlie authored
      please pull the following etnaviv changes for the next merge window.
      Mostly some small workarounds to get new hardware support going. But
      also more fixes to the softpin MMU handling and a nice addition from
      Christian to make the kernel logs on hang detection more useful.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Lucas Stach <l.stach@pengutronix.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/adcb1b3dec89a18d6c3c4ee6e179b9b2c9f25046.camel@pengutronix.de
      819683a1
  5. 21 Nov, 2022 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2022-11-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 4302423c
      Dave Airlie authored
      drm-misc-next for 6.2:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      - fbdev: Add support for the nomodeset kernel parameter
      
      Core Changes:
      - client: Add kunit tests for drm_connector_pick_cmdline_mode()
      - dma-buf: Move dma_buf_mmap_internal() to new locking specification
      - edid: Dump EDID on drm_edid_get_panel_id() failure, Stop using a
        temporary device to load the EDID through the firmware mechanism
      - fb-helper: Remove damage worker
      - gem-vram: Fix deadlock in drm_gem_vram_vmap()
      - modes: Named mode parsing improvements
      - tests: Add Kunit helpers to create a DRM device
      
      Driver Changes:
      - hisilicon: convert to drm_mode_init()
      - malidp: Use drm-managed resources
      - msm: convert to drm_mode_init() and drm_mode_copy()
      - mtk: convert to drm_mode_init()
      - nouveau: Support backlight control for nva3
      - rockchip: convert to drm_mode_copy()
      - sti: convert to drm_mode_copy()
      - v3d: Switch to drm-managed resources
      - vc4: Fix potential NULL pointer dereference
      
      - panels:
        - New panel: NewVision NV3051D
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221117083628.mzij5nrbdzokek7c@houat
      4302423c
    • Shang XiaoJing's avatar
      drm: Fix potential null-ptr-deref due to drmm_mode_config_init() · 834c23e4
      Shang XiaoJing authored
      drmm_mode_config_init() will call drm_mode_create_standard_properties()
      and won't check the ret value. When drm_mode_create_standard_properties()
      failed due to alloc, property will be a NULL pointer and may causes the
      null-ptr-deref. Fix the null-ptr-deref by adding the ret value check.
      
      Found null-ptr-deref while testing insert module bochs:
      general protection fault, probably for non-canonical address
          0xdffffc000000000c: 0000 [#1] SMP KASAN PTI
      KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
      CPU: 3 PID: 249 Comm: modprobe Not tainted 6.1.0-rc1+ #364
      Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
      rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
      RIP: 0010:drm_object_attach_property+0x73/0x3c0 [drm]
      Call Trace:
       <TASK>
       __drm_connector_init+0xb6c/0x1100 [drm]
       bochs_pci_probe.cold.11+0x4cb/0x7fe [bochs]
       pci_device_probe+0x17d/0x340
       really_probe+0x1db/0x5d0
       __driver_probe_device+0x1e7/0x250
       driver_probe_device+0x4a/0x120
       __driver_attach+0xcd/0x2c0
       bus_for_each_dev+0x11a/0x1b0
       bus_add_driver+0x3d7/0x500
       driver_register+0x18e/0x320
       do_one_initcall+0xc4/0x3e0
       do_init_module+0x1b4/0x630
       load_module+0x5dca/0x7230
       __do_sys_finit_module+0x100/0x170
       do_syscall_64+0x3f/0x90
       entry_SYSCALL_64_after_hwframe+0x63/0xcd
      RIP: 0033:0x7ff65af9f839
      
      Fixes: 6b4959f4 ("drm/atomic: atomic plane properties")
      Signed-off-by: default avatarShang XiaoJing <shangxiaojing@huawei.com>
      Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20221118021651.2460-1-shangxiaojing@huawei.com
      834c23e4