1. 07 5月, 2021 2 次提交
  2. 03 5月, 2021 1 次提交
  3. 22 4月, 2021 2 次提交
  4. 16 3月, 2021 1 次提交
  5. 17 11月, 2020 1 次提交
  6. 22 10月, 2020 1 次提交
  7. 01 9月, 2020 1 次提交
    • V
      drm: Replace mode->export_head with a boolean · 8445e2c5
      Ville Syrjälä 提交于
      In order to shrink drm_display_mode below the magic two cacheline
      mark in 64bit we need to shrink it by another 8 bytes. The easiest
      thing to eliminate is the 'export_head' list head which is only
      used during the getconnector ioctl to temporarly track which modes
      on the connector's mode list are to be exposed and which are to
      remain hidden.
      
      We can simply replace the list head with a boolean which we use
      to tag the modes that are to be exposed. If we make sure to clear
      the tags after we're done with them we don't even need an extra
      loop over the modes to reset the tags at the start of the
      getconnector ioctl.
      
      Conveniently we already have a hole for the boolean left
      behind by the removal of mode->private_flags. The final size
      of the struct is now 112 bytes on 32bit and 120 bytes on 64bit.
      
      Another alternative would be a temp bitmask so we wouldn't have
      to have anything in the mode struct itself. The main issue is
      how large of a bitmask do we need? I guess we could allocate
      it dynamically but that means an extra kcalloc() and an extra
      loop through the modes to count them first (or grow the bitmask
      with krealloc() as needed).
      
      CC: Sam Ravnborg <sam@ravnborg.org>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-17-ville.syrjala@linux.intel.comReviewed-by: NEmil Velikov <emil.velikov@collabora.com>
      8445e2c5
  8. 11 8月, 2020 1 次提交
  9. 02 7月, 2020 1 次提交
  10. 30 6月, 2020 1 次提交
  11. 29 6月, 2020 1 次提交
  12. 08 6月, 2020 1 次提交
  13. 03 6月, 2020 1 次提交
  14. 01 6月, 2020 1 次提交
  15. 18 3月, 2020 2 次提交
  16. 26 2月, 2020 1 次提交
  17. 11 1月, 2020 2 次提交
  18. 09 10月, 2019 1 次提交
    • Q
      locking/lockdep: Remove unused @nested argument from lock_release() · 5facae4f
      Qian Cai 提交于
      Since the following commit:
      
        b4adfe8e ("locking/lockdep: Remove unused argument in __lock_release")
      
      @nested is no longer used in lock_release(), so remove it from all
      lock_release() calls and friends.
      Signed-off-by: NQian Cai <cai@lca.pw>
      Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Acked-by: NWill Deacon <will@kernel.org>
      Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: airlied@linux.ie
      Cc: akpm@linux-foundation.org
      Cc: alexander.levin@microsoft.com
      Cc: daniel@iogearbox.net
      Cc: davem@davemloft.net
      Cc: dri-devel@lists.freedesktop.org
      Cc: duyuyang@gmail.com
      Cc: gregkh@linuxfoundation.org
      Cc: hannes@cmpxchg.org
      Cc: intel-gfx@lists.freedesktop.org
      Cc: jack@suse.com
      Cc: jlbec@evilplan.or
      Cc: joonas.lahtinen@linux.intel.com
      Cc: joseph.qi@linux.alibaba.com
      Cc: jslaby@suse.com
      Cc: juri.lelli@redhat.com
      Cc: maarten.lankhorst@linux.intel.com
      Cc: mark@fasheh.com
      Cc: mhocko@kernel.org
      Cc: mripard@kernel.org
      Cc: ocfs2-devel@oss.oracle.com
      Cc: rodrigo.vivi@intel.com
      Cc: sean@poorly.run
      Cc: st@kernel.org
      Cc: tj@kernel.org
      Cc: tytso@mit.edu
      Cc: vdavydov.dev@gmail.com
      Cc: vincent.guittot@linaro.org
      Cc: viro@zeniv.linux.org.uk
      Link: https://lkml.kernel.org/r/1568909380-32199-1-git-send-email-cai@lca.pwSigned-off-by: NIngo Molnar <mingo@kernel.org>
      5facae4f
  19. 20 9月, 2019 2 次提交
  20. 18 9月, 2019 1 次提交
  21. 17 9月, 2019 1 次提交
  22. 12 8月, 2019 1 次提交
    • S
      drm: Fix kerneldoc warns in connector-related docs · 12db36bc
      Sean Paul 提交于
      Fixes the following warnings:
      ../drivers/gpu/drm/drm_connector.c:989: WARNING: Unexpected indentation.
      ../drivers/gpu/drm/drm_connector.c:993: WARNING: Unexpected indentation.
      ../include/drm/drm_connector.h:544: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      ../include/drm/drm_connector.h:544: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      
      Changes in v2:
      - Use () instead of & for functions (Sam)
      
      Fixes: 1b27fbdd ("drm: Add drm_atomic_get_(old|new)_connector_for_encoder() helpers")
      Fixes: bb5a45d4 ("drm/hdcp: update content protection property with uevent")
      Cc: Ramalingam C <ramalingam.c@intel.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Pekka Paalanen <pekka.paalanen@collabora.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190812140112.6702-1-sean@poorly.run
      12db36bc
  23. 06 8月, 2019 2 次提交
  24. 31 7月, 2019 1 次提交
  25. 23 7月, 2019 1 次提交
    • N
      drm: Add SPI connector type · fc06bf1d
      Noralf Trønnes 提交于
      tinydrm drivers announce DRM_MODE_CONNECTOR_VIRTUAL for its SPI drivers.
      Add a SPI connector type to match the actual connector.
      
      X will list the connector as Unknown:
      
      X.Org X Server 1.19.2
      Release Date: 2017-03-02
      <...>
      [ 53523.905] (II) modeset(0): Output Unknown19-1 has no monitor section
      [ 53523.908] (II) modeset(0): EDID for output Unknown19-1
      [ 53523.910] (II) modeset(0): Printing probed modes for output Unknown19-1
      [ 53523.911] (II) modeset(0): Modeline "320x240"x0.0    0.00  320 320 320 320  240 240 240 240 (0.0 kHz eP)
      [ 53523.911] (II) modeset(0): Output Unknown19-1 connected
      [ 53523.912] (II) modeset(0): Using exact sizes for initial modes
      [ 53523.912] (II) modeset(0): Output Unknown19-1 using initial mode 320x240 +0+0
      
      The weston source shows that it will be listed as UNNAMED.
      
      v2: Split patch in core and driver changes, expand commit message (Daniel)
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NNoralf Trønnes <noralf@tronnes.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190719155916.62465-2-noralf@tronnes.org
      fc06bf1d
  26. 02 7月, 2019 1 次提交
  27. 24 6月, 2019 1 次提交
  28. 19 6月, 2019 1 次提交
  29. 14 6月, 2019 1 次提交
    • S
      drm/connector: Fix kerneldoc warning in HDR_OUTPUT_METADATA description · 9f9b2559
      Sean Paul 提交于
      Fixes the following warning:
      ../drivers/gpu/drm/drm_connector.c:981: WARNING: Definition list ends without a blank line; unexpected unindent.
      
      Fixes: a09db883 ("drm: Fix docbook warnings in hdr metadata helper structures")
      Cc: Shashank Sharma <shashank.sharma@intel.com>
      Cc: Ville Syrjä <ville.syrjala@linux.intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: "Ville Syrjä" <ville.syrjala@linux.intel.com>
      Cc: Hans Verkuil <hansverk@cisco.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-fbdev@vger.kernel.org
      Cc: Sean Paul <sean@poorly.run> (v1)
      Cc: Uma Shankar <uma.shankar@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190613151727.133696-1-sean@poorly.run
      9f9b2559
  30. 13 6月, 2019 1 次提交
  31. 04 6月, 2019 1 次提交
    • U
      drm: Fix docbook warnings in hdr metadata helper structures · a09db883
      Uma Shankar 提交于
      Fixes the following warnings:
      ./include/drm/drm_mode_config.h:841: warning: Incorrect use of
      kernel-doc format:          * hdr_output_metadata_property: Connector
      property containing hdr
      ./include/drm/drm_mode_config.h:918: warning: Function parameter or member 'hdr_output_metadata_property' not described in 'drm_mode_config'
      ./include/drm/drm_connector.h:1251: warning: Function parameter or member 'hdr_output_metadata' not described in 'drm_connector'
      ./include/drm/drm_connector.h:1251: warning: Function parameter or member 'hdr_sink_metadata' not described in 'drm_connector'
      
      Also adds some property documentation for HDR Metadata Connector
      Property in connector property create function.
      
      v2: Fixed Sean Paul's review comments.
      
      v3: Fixed Daniel Vetter's review comments, added the UAPI structure
      definition section in kernel docs.
      
      v4: Fixed Daniel Vetter's review comments.
      
      v5: Added structure member references as per Daniel's suggestion.
      
      Cc: Shashank Sharma <shashank.sharma@intel.com>
      Cc: Ville Syrjä <ville.syrjala@linux.intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: "Ville Syrjä" <ville.syrjala@linux.intel.com>
      Cc: Hans Verkuil <hansverk@cisco.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-fbdev@vger.kernel.org
      Reviewed-by: Sean Paul <sean@poorly.run> (v1)
      Signed-off-by: NUma Shankar <uma.shankar@intel.com>
      [danvet: Fix up markup: () for functions, & for structs. Style guide
      also recommends to prepend struct for structures.]
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/1559647022-7336-1-git-send-email-uma.shankar@intel.com
      a09db883
  32. 23 5月, 2019 1 次提交
    • U
      drm: Add HDR source metadata property · fbb5d035
      Uma Shankar 提交于
      This patch adds a blob property to get HDR metadata
      information from userspace. This will be send as part
      of AVI Infoframe to panel.
      
      It also implements get() and set() functions for HDR output
      metadata property.The blob data is received from userspace and
      saved in connector state, the same is returned as blob in get
      property call to userspace.
      
      v2: Rebase and modified the metadata structure elements
      as per Ville's POC changes.
      
      v3: No Change
      
      v4: Addressed Shashank's review comments
      
      v5: Rebase.
      
      v6: Addressed Brian Starkey's review comments, defined
      new structure with header for dynamic metadata scalability.
      Merge get/set property functions for metadata in this patch.
      
      v7: Addressed Jonas Karlman review comments and defined separate
      structure for infoframe to better align with CTA 861.G spec. Added
      Shashank's RB.
      
      v8: Addressed Ville's review comments. Moved sink metadata structure
      out of uapi headers as suggested by Jonas Karlman.
      
      v9: Rebase and addressed Jonas Karlman review comments.
      
      v10: Addressed Ville's review comments, dropped the metdata_changed
      state variable as its not needed anymore.
      Signed-off-by: NUma Shankar <uma.shankar@intel.com>
      Reviewed-by: NShashank Sharma <shashank.sharma@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1558015817-12025-2-git-send-email-uma.shankar@intel.com
      fbb5d035
  33. 09 5月, 2019 2 次提交