1. 07 Aug, 2023 37 commits
  2. 04 Aug, 2023 1 commit
    • Daniel Vetter's avatar
      Merge tag 'amd-drm-next-6.6-2023-07-28' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · 3d00c59d
      Daniel Vetter authored
      amd-drm-next-6.6-2023-07-28:
      
      amdgpu:
      - Lots of checkpatch cleanups
      - GFX 9.4.3 updates
      - Add USB PD and IFWI flashing documentation
      - GPUVM updates
      - RAS fixes
      - DRR fixes
      - FAMS fixes
      - Virtual display fixes
      - Soft IH fixes
      - SMU13 fixes
      - Rework PSP firmware loading for other IPs
      - Kernel doc fixes
      - DCN 3.0.1 fixes
      - LTTPR fixes
      - DP MST fixes
      - DCN 3.1.6 fixes
      - SubVP fixes
      - Display bandwidth calculation fixes
      - VCN4 secure submission fixes
      - Allow building DC on RISC-V
      - Add visible FB info to bo_print_info
      - HBR3 fixes
      - Add PSP 14.0 support
      - GFX9 MCBP fix
      - GMC10 vmhub index fix
      - GMC11 vmhub index fix
      - Create a new doorbell manager
      - SR-IOV fixes
      
      amdkfd:
      - Cleanup CRIU dma-buf handling
      - Use KIQ to unmap HIQ
      - GFX 9.4.3 debugger updates
      - GFX 9.4.2 debugger fixes
      - Enable cooperative groups fof gfx11
      - SVM fixes
      
      radeon:
      - Lots of checkpatch cleanups
      
      Merge conflicts:
      - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
      	The switch to drm eu helpers in 8a206685 ("drm/amdgpu: use
      	drm_exec for GEM and CSA handling v2") clashed with the
      	cosmetic cleanups from 30953c4d ("drm/amdgpu: Fix style
      	issues in amdgpu_gem.c"). I
      	kept the former since the cleanup up code is gone.
      - drivers/gpu/drm/amd/amdgpu/atom.c.
      	adf64e21 ("drm/amd: Avoid reading the VBIOS part number
      	twice") removed code that 992b8fe1 ("drm/radeon: Replace
      	all non-returning strlcpy with strscpy") polished.
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230728214228.8102-1-alexander.deucher@amd.com
      [sima: some merge conflict wrangling as noted]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      3d00c59d
  3. 03 Aug, 2023 2 commits
    • Arnd Bergmann's avatar
      HID: i2c-hid: add more DRM dependencies · a0769f25
      Arnd Bergmann authored
      When a symbol is selected that has extra dependencies,
      anything that selects it must have the same dependencies.
      With the added CONFIG_DRM reference from I2C_HID_CORE,
      this broke a couple of drivers that now also depend
      on DRM:
      
      WARNING: unmet direct dependencies detected for I2C_HID_CORE
        Depends on [m]: HID_SUPPORT [=y] && I2C_HID [=y] && (DRM [=m] || !DRM [=m])
        Selected by [y]:
        - I2C_HID_OF [=y] && HID_SUPPORT [=y] && I2C_HID [=y]
        - I2C_HID_ACPI [=y] && HID_SUPPORT [=y] && I2C_HID [=y] && ACPI [=y]
        - I2C_HID_OF_GOODIX [=y] && HID_SUPPORT [=y] && I2C_HID [=y] && OF [=y]
      x86_64-linux-ld: vmlinux.o: in function `i2c_hid_core_remove':
      (.text+0xfc8826): undefined reference to `drm_panel_remove_follower'
      x86_64-linux-ld: vmlinux.o: in function `i2c_hid_core_probe':
      (.text+0xfc8da0): undefined reference to `drm_is_panel_follower'
      
      Add the corresponding DRM||!DRM dependencies on each one that
      is affected.
      
      Fixes: 96a37bfd ("HID: i2c-hid: Support being a panel follower")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230802124947.1355415-1-arnd@kernel.org
      a0769f25
    • Thomas Zimmermann's avatar
      fbdev/ps3fb: Build without kernel device · 513bf560
      Thomas Zimmermann authored
      Use fb_info() to print status message at the end of the probe function,
      which avoids decoding the devices. fb_info() works with or without an
      fbdev kernel device. Fixes the following error:
      
      ../drivers/video/fbdev/ps3fb.c: In function 'ps3fb_probe':
      ../drivers/video/fbdev/ps3fb.c:1172:40: error: 'struct fb_info' has no member named 'dev'
       1172 |                  dev_driver_string(info->dev), dev_name(info->dev),
            |                                        ^~
      ../include/linux/dev_printk.h:110:37: note: in definition of macro 'dev_printk_index_wrap'
        110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
            |                                     ^~~~~~~~~~~
      ../drivers/video/fbdev/ps3fb.c:1171:9: note: in expansion of macro 'dev_info'
       1171 |         dev_info(info->device, "%s %s, using %u KiB of video memory\n",
            |         ^~~~~~~~
      ../drivers/video/fbdev/ps3fb.c:1172:61: error: 'struct fb_info' has no member named 'dev'
       1172 |                  dev_driver_string(info->dev), dev_name(info->dev),
            |                                                             ^~
      ../include/linux/dev_printk.h:110:37: note: in definition of macro 'dev_printk_index_wrap'
        110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
            |                                     ^~~~~~~~~~~
      ../drivers/video/fbdev/ps3fb.c:1171:9: note: in expansion of macro 'dev_info'
       1171 |         dev_info(info->device, "%s %s, using %u KiB of video memory\n",
            |         ^~~~~~~~
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Closes: https://lore.kernel.org/lkml/ccc63065-2976-88ef-1211-731330bf2866@infradead.org/Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Fixes: 701d2054 ("fbdev: Make support for userspace interfaces configurable")
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Helge Deller <deller@gmx.de>
      Cc: Javier Martinez Canillas <javierm@redhat.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Bagas Sanjaya <bagasdotme@gmail.com>
      Cc: Thorsten Leemhuis <regressions@leemhuis.info>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-fbdev@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
      Link: https://patchwork.freedesktop.org/patch/msgid/20230731175535.11345-1-tzimmermann@suse.de
      513bf560