1. 08 Jan, 2021 3 commits
  2. 07 Jan, 2021 7 commits
    • Daniel Vetter's avatar
      Merge tag 'drm-misc-next-2021-01-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · cb3cfbf7
      Daniel Vetter authored
      drm-misc-next for v5.12:
      
      Core Changes:
      - Lots of drm documentation updates by Simor Ser.
      - Require that each crtc has a unique primary plane.
      - Add fixme that fbdev_generic_setup is confusing.
      
      Driver Changes:
      - Update addresses for TI display drivers maintainers.
      - Make DRM_VIRTIO_GPU select VIRTIO.
      - Small fixes to qxl, virtio, hisilicon, tve200, panel/s6e63m0.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/fdfbfd7a-b91d-3f59-11c8-984704ce0ee1@linux.intel.com
      cb3cfbf7
    • Daniel Vetter's avatar
      Merge tag 'du-next-20210105' of git://linuxtv.org/pinchartl/media into drm-next · 73dc923e
      Daniel Vetter authored
      - Add default modes for connectors in unknown state
      - R-Car DU conversion to DRM-managed API
      - R-Car DU miscellaneous fixes
      - Miscellaneous bridge and bridge bindings fixes
      - Assorted misc driver cleanups
      - Constify drm_driver for PCI devices
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/X/P8IOrVXkTpLeCm@pendragon.ideasonboard.com
      73dc923e
    • Daniel Vetter's avatar
      Merge tag 'drm-intel-next-2021-01-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · ca765c73
      Daniel Vetter authored
      - Display hotplug fix for gen2/gen3 (Chris)
      - Remove trailing semicolon (Tom)
      - Suppress display warnings for old ifwi presend on our CI (Chris)
      - OA/Perf related workaround (Lionel)
      - Replace I915_READ/WRITE per new uncore and display read/write functions (Jani)
      - PSR improvements (Jose)
      - HDR and other color changes on LSPCON (Uma, Ville)
      - FBC fixes for TGL (Uma)
      - Record plane update times for debugging (Chris)
      - Refactor panel backlight control functions (Dave)
      - Display power improvements (Imre)
      - Add VRR register definition (Manasi)
      - Atomic modeset improvements for bigjoiner pipes (Ville)
      - Switch off the scanout during driver unregister (Chris)
      - Clean-up DP's FEW enable (Manasi)
      - Fix VDSCP slice count (Manasi)
      - Fix and clean up around rc_model_size for DSC (Jani)
      - Remove Type-C noisy debug warn message (Sean)
      - Display HPD code clean-up (Ville)
      - Refactor Intel Display (Dave)
      - Start adding support for Intel's eDP backlight controls (Lyude)
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210104211018.GA1094707@intel.com
      ca765c73
    • Hans de Goede's avatar
      drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no... · 6fdb335f
      Hans de Goede authored
      drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
      
      Commit 25b4620e ("drm/i915/dsi: Skip delays for v3 VBTs in vid-mode")
      added an intel_dsi_msleep() helper which skips sleeping if the
      MIPI-sequences have a version of 3 or newer and the panel is in vid-mode;
      and it moved a bunch of msleep-s over to this new helper.
      
      This was based on my reading of the big comment around line 730 which
      starts with "Panel enable/disable sequences from the VBT spec.",
      where the "v3 video mode seq" column does not have any wait t# entries.
      
      Given that this code has been used on a lot of different devices without
      issues until now, it seems that my interpretation of the spec here is
      mostly correct.
      
      But now I have encountered one device, an Acer Aspire Switch 10 E
      SW3-016, where the panel will not light up unless we do actually honor the
      panel_on_delay after exexuting the MIPI_SEQ_PANEL_ON sequence.
      
      What seems to set this model apart is that it is lacking a
      MIPI_SEQ_DEASSERT_RESET sequence, which is where the power-on
      delay usually happens.
      
      Fix the panel not lighting up on this model by using an unconditional
      msleep(panel_on_delay) instead of intel_dsi_msleep() when there is
      no MIPI_SEQ_DEASSERT_RESET sequence.
      
      Fixes: 25b4620e ("drm/i915/dsi: Skip delays for v3 VBTs in vid-mode")
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201118124058.26021-1-hdegoede@redhat.com
      6fdb335f
    • Daniel Vetter's avatar
      Merge tag 'imx-drm-next-2021-01-04' of git://git.pengutronix.de/git/pza/linux into drm-next · e240cc76
      Daniel Vetter authored
      drm/imx: fixes and drm managed resources
      
      - Reduce stack usage in ipu-di.
      - Fix imx-ldb for compile tests.
      - Make drm encoder control functions optional.
      - Add drm managed variants drmm_encoder_alloc(),
        drmm_simple_encoder_alloc(), drmm_universal_plane_alloc(), and
        drmm_crtc_alloc_with_planes() for drm_encoder_init(),
        drm_simple_encoder_init(), drm_universal_plane_init(), and
        drm_crtc_init_with_planes(), respectively.
      - Update imx-drm to use the new functions for drm managed resource
        allocation, moving initialization from bind to probe where possible.
      - Fix imx-tve clock provider leak.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      [danvet: Fix conflict between doc changes by both Philipp and Simon
      Ser, see 9999587b ("drm: rework description of primary and cursor
      planes")]
      From: Philipp Zabel <p.zabel@pengutronix.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/c745fc1596898932c9454fd2979297b4242566a2.camel@pengutronix.de
      e240cc76
    • Daniel Vetter's avatar
      Merge tag 'topic/dp-hdmi-2.1-pcon-2020-12-23' of... · 5beed15e
      Daniel Vetter authored
      Merge tag 'topic/dp-hdmi-2.1-pcon-2020-12-23' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Add support for DP-HDMI2.1 PCON
      
      From the series cover letter:
      
      This patch series attempts to add support for a DP-HDMI2.1 Protocol
      Convertor. The VESA spec for the HDMI2.1 PCON are proposed in Errata
      E5 to DisplayPort_v2.0:
      https://vesa.org/join-vesamemberships/member-downloads/?action=stamp&fileid=42299
      The details are mentioned in:
      VESA DP-to-HDMI PCON Specification Standalone Document
      https://groups.vesa.org/wg/DP/document/15651
      
      This series starts with adding support for FRL (Fixed Rate Link)
      Training between the PCON and HDMI2.1 sink.
      As per HDMI2.1 specification, a new data-channel or lane is added in
      FRL mode, by repurposing the TMDS clock Channel. Through FRL, higher
      bit-rate can be supported, ie. up to 12 Gbps/lane (48 Gbps over 4
      lanes).
      
      With these patches, the HDMI2.1 PCON can be configured to achieve FRL
      training based on the maximum FRL rate supported by the panel, source
      and the PCON.
      The approach is to add the support for FRL training between PCON and
      HDMI2.1 sink and gradually add other blocks for supporting higher
      resolutions and other HDMI2.1 features, that can be supported by pcon
      for the sources that do not natively support HDMI2.1.
      
      This is done before the DP Link training between the source and PCON
      is started. In case of FRL training is not achieved, the PCON will
      work in the regular TMDS mode, without HDMI2.1 feature support.
      Any interruption in FRL training between the PCON and HDMI2.1 sink is
      notified through IRQ_HPD. On receiving the IRQ_HPD the concerned DPCD
      registers are read and FRL training is re-attempted.
      
      Currently, we have tested the FRL training and are able to enable 4K
      display with TGL Platform + Realtek PCON RTD2173 with HDMI2.1 supporting
      panel.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87lfdpndkt.fsf@intel.com
      5beed15e
    • Daniel Vetter's avatar
      Merge tag 'drm-misc-next-2020-12-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 18589d74
      Daniel Vetter authored
      drm-misc-next for v5.12:
      
      UAPI Changes:
      - Not necessarily one, but we document that userspace needs to force probe connectors.
      
      Cross-subsystem Changes:
      - Require FB_ATY_CT for aty on sparc64.
      - video: Fix documentation, and a few compiler warnings.
      - Add devicetree bindings for DP connectors.
      - dma-buf: Update kernel-doc, and add might_lock for resv objects in begin/end_cpu_access.
      
      Core Changes:
      - ttm: Warn when releasing a pinned bo.
      - ttm: Cleanup bo size handling.
      - cma-helper: Remove prime infix, and implement mmap as GEM CMA functions.
      - Split drm_prime_sg_to_page_addr_arrays into 2 functions.
      - Add a new api to install irq using devm.
      - Update panel kerneldoc to inline style.
      - Add DP support to drm/bridge.
      - Assorted small fixes to ttm, fb-helper, scheduler.
      - Add atomic_commit_setup function callback.
      - Automatically use the atomic gamma_set, instead of forcing drivers to declare the default atomic version.
      - Allow using degamma for legacy gamma if gamma is not available.
      - Clarify that primary/cursor planes are not tied to 1 crtc (depending on possible_crtcs).
      - ttm: Cleanup the lru handler.
      
      Driver Changes:
      - Add pm support to ingenic.
      - Assorted small fixes in radeon, via, rockchip, omap2fb, kmb, gma500, nouveau, virtio, hisilicon, ingenic, s6e63m0 panel, ast, udlfb.
      - Add BOE NV110WTM-N61, ys57pss36bh5gq, Khadas TS050 panels.
      - Stop using pages with drm_prime_sg_to_page_addr_arrays, and switch all callers to use ttm_sg_tt_init.
      - Cleanup compiler and docbook warnings in a lot of fbdev devices.
      - Use the drmm_vram_helper in hisilicon.
      - Add support for BCM2711 DSI1 in vc4.
      - Add support for 8-bit delta RGB panels to ingenic.
      - Add documentation on how to test vkms.
      - Convert vc4 to atomic helpers.
      - Use degamma instead of gamma table in omap, to add support for CTM and color encoding/range properties.
      - Rework omap DSI code, and merge all omapdrm modules now that the last omap panel is now a drm panel.
      - More refactoring of omap dsi code.
      - Enable 10/12 bpc outputs in vc4.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/78381a4f-45fd-aed4-174a-94ba051edd37@linux.intel.com
      18589d74
  3. 06 Jan, 2021 2 commits
  4. 05 Jan, 2021 28 commits