1. 08 Aug, 2017 5 commits
  2. 07 Aug, 2017 8 commits
  3. 04 Aug, 2017 20 commits
  4. 03 Aug, 2017 4 commits
  5. 01 Aug, 2017 3 commits
    • Ben Widawsky's avatar
      drm: Create a format/modifier blob · db1689aa
      Ben Widawsky authored
      Updated blob layout (Rob, Daniel, Kristian, xerpi)
      
      v2:
      * Removed __packed, and alignment (.+)
      * Fix indent in drm_format_modifier fields (Liviu)
      * Remove duplicated modifier > 64 check (Liviu)
      * Change comment about modifier (Liviu)
      * Remove arguments to blob creation, use plane instead (Liviu)
      * Fix data types (Ben)
      * Make the blob part of uapi (Daniel)
      
      v3:
      Remove unused ret field.
      Change i, and j to unsigned int (Emil)
      
      v4:
      Use plane->modifier_count instead of recounting (Daniel)
      
      v5:
      Rename modifiers to modifiers_property (Ville)
      Use sizeof(__u32) instead to reflect UAPI nature (Ville)
      Make BUILD_BUG_ON for blob header size
      
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Kristian H. Kristensen <hoegsberg@gmail.com>
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
      Reviewed-by: Liviu Dudau <liviu@dudau.co.uk> (v2)
      Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> (v3)
      Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170724034641.13369-2-ben@bwidawsk.net
      db1689aa
    • Ben Widawsky's avatar
      drm: Plumb modifiers through plane init · e6fc3b68
      Ben Widawsky authored
      This is the plumbing for supporting fb modifiers on planes. Modifiers
      have already been introduced to some extent, but this series will extend
      this to allow querying modifiers per plane. Based on this, the client to
      enable optimal modifications for framebuffers.
      
      This patch simply allows the DRM drivers to initialize their list of
      supported modifiers upon initializing the plane.
      
      v2: A minor addition from Daniel
      
      v3:
      * Updated commit message
      * s/INVALID/DRM_FORMAT_MOD_INVALID (Liviu)
      * Remove some excess newlines (Liviu)
      * Update comment for > 64 modifiers (Liviu)
      
      v4: Minor comment adjustments (Liviu)
      
      v5: Some new platforms added due to rebase
      
      v6: Add some missed plane inits (or maybe they're new - who knows at
      this point) (Daniel)
      Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
      Reviewed-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
      e6fc3b68
    • Maarten Lankhorst's avatar
      drm/msm: Convert to use new iterator macros, v2. · d7429669
      Maarten Lankhorst authored
      for_each_obj_in_state is about to be removed, so convert
      to the new iterator macros.
      
      Just like in omap, use crtc_state->active instead of
      crtc_state->enable when waiting for completion.
      
      Changes since v1:
      - Fix compilation.
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Russell King <rmk+kernel@armlinux.org.uk>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Markus Elfring <elfring@users.sourceforge.net>
      Cc: Sushmita Susheelendra <ssusheel@codeaurora.org>
      Cc: linux-arm-msm@vger.kernel.org
      Cc: freedreno@lists.freedesktop.org
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Tested-by: default avatarArchit Taneja <architt@codeaurora.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20170719143920.25685-6-maarten.lankhorst@linux.intel.com
      d7429669