1. 07 Jan, 2021 4 commits
    • 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
    • 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
  2. 04 Jan, 2021 22 commits
  3. 03 Jan, 2021 1 commit
  4. 02 Jan, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 's390-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 3516bd72
      Linus Torvalds authored
      Pull s390 cleanups from Vasily Gorbik:
       "Update defconfigs and sort config select list"
      
      * tag 's390-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/Kconfig: sort config S390 select list once again
        s390: update defconfigs
      3516bd72
    • Linus Torvalds's avatar
      Merge tag 'pm-5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d9296a7b
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "These fix a crash in intel_pstate during resume from suspend-to-RAM
        that may occur after recent changes and two resource leaks in error
        paths in the operating performance points (OPP) framework, add a new
        C-states table to intel_idle and update the cpuidle MAINTAINERS entry
        to cover the governors too.
      
        Specifics:
      
         - Fix recently introduced crash in the intel_pstate driver that
           occurs if scale-invariance is disabled during resume from
           suspend-to-RAM due to inconsistent changes of APERF or MPERF MSR
           values made by the platform firmware (Rafael Wysocki).
      
         - Fix a memory leak and add a missing clk_put() in error paths in the
           OPP framework (Quanyang Wang, Viresh Kumar).
      
         - Add new C-states table for SnowRidge processors to the intel_idle
           driver (Artem Bityutskiy).
      
         - Update the MAINTAINERS entry for cpuidle to make it clear that the
           governors are covered by it too (Lukas Bulwahn)"
      
      * tag 'pm-5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        intel_idle: add SnowRidge C-state table
        cpufreq: intel_pstate: Fix fast-switch fallback path
        opp: Call the missing clk_put() on error
        opp: fix memory leak in _allocate_opp_table
        MAINTAINERS: include governors into CPU IDLE TIME MANAGEMENT FRAMEWORK
      d9296a7b
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq' and 'pm-cpuidle' · 89ecf09e
      Rafael J. Wysocki authored
      * pm-cpufreq:
        cpufreq: intel_pstate: Fix fast-switch fallback path
      
      * pm-cpuidle:
        intel_idle: add SnowRidge C-state table
        MAINTAINERS: include governors into CPU IDLE TIME MANAGEMENT FRAMEWORK
      89ecf09e
  5. 01 Jan, 2021 4 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · eda809ae
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is a load of driver fixes (12 ufs, 1 mpt3sas, 1 cxgbi).
      
        The big core two fixes are for power management ("block: Do not accept
        any requests while suspended" and "block: Fix a race in the runtime
        power management code") which finally sorts out the resume problems
        we've occasionally been having.
      
        To make the resume fix, there are seven necessary precursors which
        effectively renames REQ_PREEMPT to REQ_PM, so every "special" request
        in block is automatically a power management exempt one.
      
        All of the non-PM preempt cases are removed except for the one in the
        SCSI Parallel Interface (spi) domain validation which is a genuine
        case where we have to run requests at high priority to validate the
        bus so this becomes an autopm get/put protected request"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (22 commits)
        scsi: cxgb4i: Fix TLS dependency
        scsi: ufs: Un-inline ufshcd_vops_device_reset function
        scsi: ufs: Re-enable WriteBooster after device reset
        scsi: ufs-mediatek: Use correct path to fix compile error
        scsi: mpt3sas: Signedness bug in _base_get_diag_triggers()
        scsi: block: Do not accept any requests while suspended
        scsi: block: Remove RQF_PREEMPT and BLK_MQ_REQ_PREEMPT
        scsi: core: Only process PM requests if rpm_status != RPM_ACTIVE
        scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
        scsi: ide: Mark power management requests with RQF_PM instead of RQF_PREEMPT
        scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
        scsi: block: Introduce BLK_MQ_REQ_PM
        scsi: block: Fix a race in the runtime power management code
        scsi: ufs-pci: Enable UFSHCD_CAP_RPM_AUTOSUSPEND for Intel controllers
        scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers
        scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
        scsi: ufs-pci: Fix restore from S4 for Intel controllers
        scsi: ufs-mediatek: Keep VCC always-on for specific devices
        scsi: ufs: Allow regulators being always-on
        scsi: ufs: Clear UAC for RPMB after ufshcd resets
        ...
      eda809ae
    • Linus Torvalds's avatar
      Merge tag 'block-5.11-2021-01-01' of git://git.kernel.dk/linux-block · 8b4805c6
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Two minor block fixes from this last week that should go into 5.11:
      
         - Add missing NOWAIT debugfs definition (Andres)
      
         - Fix kerneldoc warning introduced this merge window (Randy)"
      
      * tag 'block-5.11-2021-01-01' of git://git.kernel.dk/linux-block:
        block: add debugfs stanza for QUEUE_FLAG_NOWAIT
        fs: block_dev.c: fix kernel-doc warnings from struct block_device changes
      8b4805c6
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.11-2021-01-01' of git://git.kernel.dk/linux-block · dc3e24b2
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "A few fixes that should go into 5.11, all marked for stable as well:
      
         - Fix issue around identity COW'ing and users that share a ring
           across processes
      
         - Fix a hang associated with unregistering fixed files (Pavel)
      
         - Move the 'process is exiting' cancelation a bit earlier, so
           task_works aren't affected by it (Pavel)"
      
      * tag 'io_uring-5.11-2021-01-01' of git://git.kernel.dk/linux-block:
        kernel/io_uring: cancel io_uring before task works
        io_uring: fix io_sqe_files_unregister() hangs
        io_uring: add a helper for setting a ref node
        io_uring: don't assume mm is constant across submits
      dc3e24b2
    • Linus Torvalds's avatar
      depmod: handle the case of /sbin/depmod without /sbin in PATH · cedd1862
      Linus Torvalds authored
      Commit 436e980e ("kbuild: don't hardcode depmod path") stopped
      hard-coding the path of depmod, but in the process caused trouble for
      distributions that had that /sbin location, but didn't have it in the
      PATH (generally because /sbin is limited to the super-user path).
      
      Work around it for now by just adding /sbin to the end of PATH in the
      depmod.sh script.
      Reported-and-tested-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cedd1862
  6. 31 Dec, 2020 3 commits
  7. 30 Dec, 2020 3 commits
    • Chris Wilson's avatar
      drm/i915/dp: Track pm_qos per connector · b3304591
      Chris Wilson authored
      Since multiple connectors may run intel_dp_aux_xfer conncurrently, a
      single global pm_qos does not suffice. (One connector may disable the
      dma-latency boost prematurely while the second is still depending on
      it.) Instead of a single global pm_qos, track the pm_qos request for
      each intel_dp.
      
      v2: Move the pm_qos setup/teardown to intel_dp_aux_init/fini
      
      Fixes: 9ee32fea ("drm/i915: irq-drive the dp aux communication")
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Imre Deak <imre.deak@intel.com>
      Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201230202309.23982-1-chris@chris-wilson.co.uk
      b3304591
    • Linus Torvalds's avatar
      Merge tag 'ceph-for-5.11-rc2' of git://github.com/ceph/ceph-client · f6e1ea19
      Linus Torvalds authored
      Pull ceph fixes from Ilya Dryomov:
       "A fix for an edge case in MClientRequest encoding and a couple of
        trivial fixups for the new msgr2 support"
      
      * tag 'ceph-for-5.11-rc2' of git://github.com/ceph/ceph-client:
        libceph: add __maybe_unused to DEFINE_MSGR2_FEATURE
        libceph: align session_key and con_secret to 16 bytes
        libceph: fix auth_signature buffer allocation in secure mode
        ceph: reencode gid_list when reconnecting
      f6e1ea19
    • Artem Bityutskiy's avatar
      intel_idle: add SnowRidge C-state table · 9cf93f05
      Artem Bityutskiy authored
      Add C-state table for the SnowRidge SoC which is found on Intel Jacobsville
      platforms.
      
      The following has been changed.
      
       1. C1E latency changed from 10us to 15us. It was measured using the
          open source "wult" tool (the "nic" method, 15us is the 99.99th
          percentile).
      
       2. C1E power break even changed from 20us to 25us, which may result
          in less C1E residency in some workloads.
      
       3. C6 latency changed from 50us to 130us. Measured the same way as C1E.
      
      The C6 C-state is supported only by some SnowRidge revisions, so add a C-state
      table commentary about this.
      
      On SnowRidge, C6 support is enumerated via the usual mechanism: "mwait" leaf of
      the "cpuid" instruction. The 'intel_idle' driver does check this leaf, so even
      though C6 is present in the table, the driver will only use it if the CPU does
      support it.
      Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9cf93f05