1. 02 Aug, 2021 7 commits
  2. 01 Aug, 2021 2 commits
  3. 31 Jul, 2021 7 commits
  4. 30 Jul, 2021 5 commits
    • Desmond Cheong Zhi Xi's avatar
      drm: clean up unused kerneldoc in drm_lease.c · 676f11b5
      Desmond Cheong Zhi Xi authored
      The kerneldoc in drm_lease.c is unused because none of the functions
      are driver interfaces as the symbols are not exported.
      
      Since they aren't used and much of the existing comments don't provide
      any insights (e.g. they just repeat the function name or list out the
      function parameters), they should be removed to make them easier to
      maintain and to make useful info more obvious.
      
      As a note, many of the comments mention whether idr_mutex should be
      held, but these are mostly redundant in cases where the function
      contains lockdep assertions or grabs the mutex.
      
      To simplify review, here's the reasoning behind each update.
      
      drm_lease_owner:
      function name is self-descriptive
      
      _drm_find_lessee:
      function name is self-descriptive
      
      _drm_lease_held_master:
      function name and signature are self-descriptive
      
      _drm_has_leased:
      kerneldoc is summarized into a comment because the function name could
      be interpreted ambiguously (check if the object has been leased VS
      check if the master has a lease on the object)
      
      _drm_lease_held:
      Retain the idr_mutex comment because the function does not directly
      grab the mutex or use a lockdep assertion.
      Otherwise, the function name is self-descriptive.
      
      drm_lease_held:
      function name is self-descriptive
      
      drm_lease_filter_crtcs:
      Kerneldoc is summarized into a comment because the function name could
      be interpreted ambiguously (filter leases based on crtcs mask VS
      filter crtcs mask based on leases)
      
      drm_lease_create:
      Kerneldoc removed.
      Useful function details such as atomic leasing are retained.
      Errno interpretations are useful and retained.
      
      drm_lease_destroy:
      function name is self-descriptive. Additional information is also
      removed as they're already present as comments inside the function.
      
      _drm_lease_revoke:
      function name is self-descriptive
      
      drm_lease_revoke:
      function name is self-descriptive
      
      drm_mode_create_lease_ioctl:
      Kerneldoc removed, but useful function details retained.
      
      drm_mode_list_lessees_ioctl:
      function name is self-descriptive. Additional details restate what the
      code does.
      
      drm_mode_get_lease_ioctl:
      Function summary retained to clarify that it's the leased objects that
      are returned, not the lease structure.
      
      drm_mode_revoke_lease_ioctl:
      Kerneldoc removed, but useful function details retained.
      Signed-off-by: default avatarDesmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210730051759.1570630-1-desmondcheongzx@gmail.com
      676f11b5
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.15-2021-07-29' of... · 04d505de
      Dave Airlie authored
      Merge tag 'amd-drm-next-5.15-2021-07-29' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.15-2021-07-29:
      
      amdgpu:
      - VCN/JPEG power down sequencing fixes
      - Various navi pcie link handling fixes
      - Clockgating fixes
      - Yellow Carp fixes
      - Beige Goby fixes
      - Misc code cleanups
      - S0ix fixes
      - SMU i2c bus rework
      - EEPROM handling rework
      - PSP ucode handling cleanup
      - SMU error handling rework
      - AMD HDMI freesync fixes
      - USB PD firmware update rework
      - MMIO based vram access rework
      - Misc display fixes
      - Backlight fixes
      - Add initial Cyan Skillfish support
      - Overclocking fixes suspend/resume
      
      amdkfd:
      - Sysfs leak fix
      - Add counters for vm faults and migration
      - GPUVM TLB optimizations
      
      radeon:
      - Misc fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210730033455.3852-1-alexander.deucher@amd.com
      04d505de
    • Dave Airlie's avatar
      Merge tag 'drm-msm-next-2021-07-28' of https://gitlab.freedesktop.org/drm/msm into drm-next · f1b79965
      Dave Airlie authored
      An early pull for v5.15 (there'll be more coming in a week or two),
      consisting of the drm/scheduler conversion and a couple other small
      series that one was based one.  Mostly sending this now because IIUC
      danvet wanted it in drm-next so he could rebase on it.  (Daniel, if
      you disagree then speak up, and I'll instead include this in the main
      pull request once that is ready.)
      
      This also has a core patch to drop drm_gem_object_put_locked() now
      that the last use of it is removed.
      
      [airlied: add NULL to drm_sched_init]
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Rob Clark <robdclark@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGumRk7H88bqV=H9Fb1SM0zPBo5B7NsCU3jFFKBYxf5k+Q@mail.gmail.com
      f1b79965
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2021-07-29' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · cfeeb0b5
      Dave Airlie authored
      drm-misc-next for v5.15:
      
      UAPI Changes:
      - Add modifiers for arm fixed rate compression.
      
      Cross-subsystem Changes:
      - Assorted dt binding fixes.
      - Convert ssd1307fb to json-schema.
      - Update a lot of irc channels to point to OFTC, as everyone moved there.
      - Fix the same divide by zero for asilantfb, kyro, rivafb.
      
      Core Changes:
      - Document requirements for new atomic properties.
      - Add drm_gem_fb_(begin/end)_cpu_access helpers, and use them in some drivers.
      - Document drm_property_enum.value for bitfields.
      - Add explicit _NO_ for MIPI_DSI flags that disable features.
      - Assorted documentation fixes.
      - Update fb_damage handling, and move drm_plane_enable_fb_damage_clips to core.
      - Add logging and docs to RMFB ioctl.
      - Assorted small fixes to dp_mst, master handling.
      - Clarify drm lease usage.
      
      Driver Changes:
      - Assorted small fixes to panfrost, hibmc, bridge/nwl-dsi, rockchip, vc4.
      - More drm -> linux irq conversions.
      - Add support for some Logic Technologies and Multi-Inno panels.
      - Expose phy-functionality for drm/rockchip, to allow controlling from the media subsystem.
      - Add support for 2 AUO panels.
      - Add damage handling to ssd1307fb.
      - Improve FIFO handling on mxsfb.
      - Assorted small fixes to vmwgfx, and bump version to 2.19 for the new ioctls.
      - Improve sony acx424akp backlight handling.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/a753221a-e23e-0dc4-7ca6-8c1b179738d0@linux.intel.com
      cfeeb0b5
    • Dave Airlie's avatar
      Merge tag 'du-next-20210728' of git://linuxtv.org/pinchartl/media into drm-next · 988dbd25
      Dave Airlie authored
      - R-Car DU shutdown fixes
      - R-Car DU conversion to bridge connector helper
      - Misc small fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YQGHjOSOw2G4+A3x@pendragon.ideasonboard.com
      988dbd25
  5. 29 Jul, 2021 12 commits
  6. 28 Jul, 2021 7 commits