Skip to content
  1. Jan 15, 2021
  2. Jan 14, 2021
  3. Jan 13, 2021
  4. Jan 12, 2021
    • Simon Ser's avatar
      drm/fourcc: fix Amlogic format modifier masks · cc3283f8
      Simon Ser authored
      
      
      The comment says the layout and options use 8 bits, and the shift
      uses 8 bits. However the mask is 0xf, ie. 0b00001111 (4 bits).
      
      This could be surprising when introducing new layouts or options
      that take more than 4 bits, as this would silently drop the high
      bits.
      
      Make the masks consistent with the comment and the shift.
      
      Found when writing a drm_info patch [1].
      
      [1]: https://github.com/ascent12/drm_info/pull/67
      
      Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
      Fixes: d6528ec8
      
       ("drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression")
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210110125103.15447-1-contact@emersion.fr
      cc3283f8
    • Xiaogang Chen's avatar
      drm: distinguish return value of drm_dp_check_and_send_link_address · dc25e377
      Xiaogang Chen authored
      
      
      drm_dp_check_and_send_link_address discovers MST device topology. It can
      return both positive and negative values. When it returns positive
      values there is no error found. If it returns negative values there is
      error found, such as get NAK , timeout, etc. Following
      drm_kms_helper_hotplug_event should be called when
      drm_dp_check_and_send_link_address returns positive value.
      
      Signed-off-by: default avatarXiaogang Chen <xiaogang.chen@amd.com>
      Acked-by: default avatarSimon Ser <contact@emersion.fr>
      Signed-off-by: Simon Ser <contact@emersion.fr> (re-formatted commit message)
      Link: https://patchwork.freedesktop.org/patch/msgid/DM6PR12MB2602B6281BF8C9430115E03BE3AA0@DM6PR12MB2602.namprd12.prod.outlook.com
      dc25e377
    • Zhaoge Zhang's avatar
      drm: Fix macro name DRM_MODE_PROP_OBJECT in code comment · 7e60bdeb
      Zhaoge Zhang authored
      
      
      Signed-off-by: default avatarZhaoge Zhang <zhangzhaoge@loongson.cn>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/1610416479-32736-1-git-send-email-zhangzhaoge@loongson.cn
      7e60bdeb
    • Zhaoge Zhang's avatar
      drm: Removes invalid function return value comment information · 2dee38d8
      Zhaoge Zhang authored
      
      
      Signed-off-by: default avatarZhaoge Zhang <zhangzhaoge@loongson.cn>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/1610415567-32171-1-git-send-email-zhangzhaoge@loongson.cn
      2dee38d8
    • Linus Walleij's avatar
      dt-bindings: display: Augment s6e63m0 bindings · 1316b6e4
      Linus Walleij authored
      
      
      This fixes the following problems with the s6e63m0 display
      bindings:
      
      - When used on the DSI bus, the panel is listed directly as
        a subnode on the DSI host so the "port" node is not
        compulsory. Remove "port" from required properties.
      
      - The panel contains its own backlight control, so reference
        the backlight common properties and list default-brightness
        and max-brightness as supported but optional properties.
      
      Cc: devicetree@vger.kernel.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210101114522.1981838-1-linus.walleij@linaro.org
      1316b6e4
    • Tian Tao's avatar
      drm/hisilicon: Use drm_crtc_mask() · 9254cd1d
      Tian Tao authored
      
      
      Use drm_crtc_mask() where appropriate.
      
      Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
      Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/1610335818-32895-1-git-send-email-tiantao6@hisilicon.com
      9254cd1d
    • Rob Herring's avatar
      dt-bindings: display: Use OF graph schema · b6755423
      Rob Herring authored
      
      
      Now that we have a graph schema, rework the display related schemas to use
      it. Mostly this is adding a reference to graph.yaml and dropping duplicate
      parts from schemas.
      
      In panel-common.yaml, 'ports' is dropped. Any binding using 'ports'
      should be one with more than 1 port node, and the binding must define
      what each port is.
      
      Note that ti,sn65dsi86.yaml, ti,tfp410,yaml and toshiba,tc358768.yaml will
      need further updates to use video-interfaces.yaml once that lands.
      
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210104180724.2275098-1-robh@kernel.org
      b6755423
  5. Jan 15, 2021