1. 11 Jun, 2024 1 commit
  2. 09 Jun, 2024 3 commits
  3. 07 Jun, 2024 4 commits
  4. 06 Jun, 2024 3 commits
  5. 03 Jun, 2024 4 commits
  6. 30 May, 2024 1 commit
  7. 28 May, 2024 1 commit
  8. 22 May, 2024 2 commits
  9. 20 May, 2024 2 commits
    • Kirill Artemev's avatar
      Input: xpad - add support for Machenike G5 Pro Controller · e7647cba
      Kirill Artemev authored
      Add VID and PID to the xpad_device and VID to the xpad_table
      to allow driver to use Machenike G5 Pro Controller, which is
      XTYPE_XBOX360 compatible in Xinput mode.
      Signed-off-by: default avatarKirill Artemev <artewar6767@gmail.com>
      Link: https://lore.kernel.org/r/20240516032926.12501-2-artewar6767@gmail.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      e7647cba
    • Dmitry Torokhov's avatar
      Input: try trimming too long modalias strings · 0774d190
      Dmitry Torokhov authored
      If an input device declares too many capability bits then modalias
      string for such device may become too long and not fit into uevent
      buffer, resulting in failure of sending said uevent. This, in turn,
      may prevent userspace from recognizing existence of such devices.
      
      This is typically not a concern for real hardware devices as they have
      limited number of keys, but happen with synthetic devices such as
      ones created by xen-kbdfront driver, which creates devices as being
      capable of delivering all possible keys, since it doesn't know what
      keys the backend may produce.
      
      To deal with such devices input core will attempt to trim key data,
      in the hope that the rest of modalias string will fit in the given
      buffer. When trimming key data it will indicate that it is not
      complete by placing "+," sign, resulting in conversions like this:
      
      old: k71,72,73,74,78,7A,7B,7C,7D,8E,9E,A4,AD,E0,E1,E4,F8,174,
      new: k71,72,73,74,78,7A,7B,7C,+,
      
      This should allow existing udev rules continue to work with existing
      devices, and will also allow writing more complex rules that would
      recognize trimmed modalias and check input device characteristics by
      other means (for example by parsing KEY= data in uevent or parsing
      input device sysfs attributes).
      
      Note that the driver core may try adding more uevent environment
      variables once input core is done adding its own, so when forming
      modalias we can not use the entire available buffer, so we reduce
      it by somewhat an arbitrary amount (96 bytes).
      Reported-by: default avatarJason Andryuk <jandryuk@gmail.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Tested-by: default avatarJason Andryuk <jandryuk@gmail.com>
      Link: https://lore.kernel.org/r/ZjAWMQCJdrxZkvkB@google.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      0774d190
  10. 13 May, 2024 3 commits
  11. 12 May, 2024 5 commits
  12. 11 May, 2024 10 commits
  13. 10 May, 2024 1 commit
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-05-11' of https://gitlab.freedesktop.org/drm/kernel · cf87f46f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This should be the last set of fixes for 6.9, i915, xe and amdgpu are
        the bulk here, one of the previous nouveau fixes turned up an issue,
        so reverting it, otherwise one core and a couple of meson fixes.
      
        core:
         - fix connector debugging output
      
        i915:
         - Automate CCS Mode setting during engine resets
         - Fix audio time stamp programming for DP
         - Fix parsing backlight BDB data
      
        xe:
         - Fix use zero-length element array
         - Move more from system wq to ordered private wq
         - Do not ignore return for drmm_mutex_init
      
        amdgpu:
         - DCN 3.5 fix
         - MST DSC fixes
         - S0i3 fix
         - S4 fix
         - HDP MMIO mapping fix
         - Fix a regression in visible vram handling
      
        amdkfd:
         - Spatial partition fix
      
        meson:
         - dw-hdmi: power-up fixes
         - dw-hdmi: add badngap setting for g12
      
        nouveau:
         - revert SG_DEBUG fix that has a side effect"
      
      * tag 'drm-fixes-2024-05-11' of https://gitlab.freedesktop.org/drm/kernel:
        Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()"
        drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible
        drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
        drm/xe: Use ordered WQ for G2H handler
        drm/xe/guc: Check error code when initializing the CT mutex
        drm/xe/ads: Use flexible-array
        Revert "drm/amdkfd: Add partition id field to location_id"
        dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users
        drm/amd/display: MST DSC check for older devices
        drm/amd/display: Fix idle optimization checks for multi-display and dual eDP
        drm/amd/display: Fix DSC-re-computing
        drm/amd/display: Enable urgent latency adjustments for DCN35
        drm/connector: Add \n to message about demoting connector force-probes
        drm/i915/bios: Fix parsing backlight BDB data
        drm/i915/audio: Fix audio time stamp programming for DP
        drm/i915/gt: Automate CCS Mode setting during engine resets
        drm/meson: dw-hdmi: add bandgap setting for g12
        drm/meson: dw-hdmi: power up phy on device init
      cf87f46f