03 Jan, 2020

1 commit

  • drm-misc-next for v5.6:

    UAPI Changes:
    - Commandline parser: Add support for panel orientation, and per-mode options.
    - Fix IOCTL naming for dma-buf heaps.

    Cross-subsystem Changes:
    - Rename DMA_HEAP_IOC_ALLOC to DMA_HEAP_IOCTL_ALLOC before it becomes abi.
    - Change DMA-BUF system-heap's name to system.
    - Fix leak in error handling in dma_heap_ioctl(), and make a symbol static.
    - Fix udma-buf cpu access.
    - Fix ti devicetree bindings.

    Core Changes:
    - Add CTA-861-G modes with VIC >= 193.
    - Change error handling and remove bug_on in *drm_dev_init.
    - Export drm_panel_of_backlight() correctly once more.
    - Add support for lvds decoders.
    - Convert drm/client and drm/(gem-,)fb-helper to drm-device based logging and update logging todo.

    Driver Changes:
    - Add support for dsi/px30 to rockchip.
    - Add fb damage support to virtio.
    - Use dma_resv locking wrappers in vc4, msm, etnaviv.
    - Make functions in virtio static, and perform some simplifications.
    - Add suspend support to sun4i.
    - Add A64 mipi dsi support to sun4i.
    - Add runtime pm suspend to komeda.
    - Associated driver fixes.

    Signed-off-by: Dave Airlie

    From: Maarten Lankhorst
    Link: https://patchwork.freedesktop.org/patch/msgid/efc11139-1653-86bc-1b0f-0aefde219850@linux.intel.com

    Dave Airlie
     

27 Dec, 2019

1 commit

  • i915 features for v5.6:

    - Separate hardware and uapi state (Maarten)

    - Expose a number of sprite and plane formats (Ville)

    - DDC symlink in HDMI connector sysfs directory (Andrzej Pietrasiewicz)

    - Improve obj->mm.lock nesting lock annotation (Daniel)
    (Includes lockdep changes)

    - Selftest improvements across the board (Chris)

    - ICL/TGL VDSC support on DSI (Jani, Vandita)

    - TGL DSB fixes (Animesh, Lucas, Tvrtko)

    - VBT parsing improvements and fixes (Lucas, Matt, José, Jani, Dan Carpenter)

    - Fix LPSS vs. PMIC PWM backlight use on BYT/CHT (Hans)
    (Includes ACPI+MFD changes)

    - Display state, crtc, plane code refactoring (Ville)

    - Set opregion chpd value to indicate the driver handles hotplug (Hans de Goede)

    - DSI updates and fixes, TGL pipe D support, port mapping (José, Jani, Vandita)

    - Make HDCP 2.2 support cover CFL (Juston Li)

    - Fix CML PCI IDs and ULT (Shawn Lee)

    - CMP-V PCH fix (Imre)

    - TGL: Add another TGL PCH ID (James)

    - EHL/JSL: Add new PCI IDs (James)

    - Rename pipe update tracepoints (Ville)

    - Fix FBC on GLK+ (Ville)

    - GuC fixes and improvements (Daniele, Don Hiatt, Stuart Summers, Matthew Brost)

    - Display debugfs improvements (Ville)

    - Hotplug/irq fixes (Matt)

    - PSR fixes and improvements (José)

    - DRM_I915_GEM_MMAP_OFFSET ioctl (Abdiel)

    - Static analysis fixes (Colin Ian King)

    - Register sysctl path globally (Venkata Sandeep Dhanalakota)

    - Introduce new macros for tracing (Venkata Sandeep Dhanalakota)

    - Migrate gt towards intel_uncore_read/write (Andi)

    - Add rps frequency translation helpers (Andi)

    - Fix TGL transcoder clock off sequence (José)

    - Fix TGL port A audio (Kai Vehmanen)

    - TGL render decompression (DK)

    - GEM/GT improvements and fixes across the board (Chris)

    - Couple of backmerges (Jani)

    Signed-off-by: Dave Airlie

    # gpg: Signature made Tue 24 Dec 2019 03:20:48 AM AEST
    # gpg: using RSA key D398079D26ABEE6F
    # gpg: Good signature from "Jani Nikula "
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg: There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: 1565 A65B 77B0 632E 1124 E59C D398 079D 26AB EE6F

    # Conflicts:
    # drivers/gpu/drm/i915/display/intel_fbc.c
    # drivers/gpu/drm/i915/gt/intel_lrc.c
    # drivers/gpu/drm/i915/i915_gem.c
    From: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/87lfr3rkry.fsf@intel.com

    Dave Airlie
     

20 Dec, 2019

1 commit

  • Jani has merged a new set of logging functions, which we hope to be
    the One True solution now, pinky promises:

    commit fb6c7ab8718eb2543695d77ad8302ff81e8e1e32
    Author: Jani Nikula
    Date: Tue Dec 10 14:30:43 2019 +0200

    drm/print: introduce new struct drm_device based logging macros

    Update the todo entry to match the new preference.

    v2: Fix spelling issue Sam noticed.

    Cc: Jani Nikula
    Cc: Sean Paul
    Cc: Wambui Karuga
    Acked-by: Jani Nikula
    Acked-by: Sam Ravnborg
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191219161722.2779994-1-daniel.vetter@ffwll.ch

    Daniel Vetter
     

17 Dec, 2019

1 commit

  • drm-misc-next for v5.6:

    UAPI Changes:
    - Add support for DMA-BUF HEAPS.

    Cross-subsystem Changes:
    - mipi dsi definition updates, pulled into drm-intel as well.
    - Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
    - Remove support for dma-buf kmap/kunmap.
    - Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, and media as well.

    Core Changes:
    - Small cleanups to ttm.
    - Fix SCDC definition.
    - Assorted cleanups to core.
    - Add todo to remove load/unload hooks, and use generic fbdev emulation.
    - Assorted documentation updates.
    - Use blocking ww lock in ttm fault handler.
    - Remove drm_fb_helper_fbdev_setup/teardown.
    - Warning fixes with W=1 for atomic.
    - Use drm_debug_enabled() instead of drm_debug flag testing in various drivers.
    - Fallback to nontiled mode in fbdev emulation when not all tiles are present. (Later on reverted)
    - Various kconfig indentation fixes in core and drivers.
    - Fix freeing transactions in dp-mst correctly.
    - Sean Paul is steping down as core maintainer. :-(
    - Add lockdep annotations for atomic locks vs dma-resv.
    - Prevent use-after-free for a bad job in drm_scheduler.
    - Fill out all block sizes in the P01x and P210 definitions.
    - Avoid division by zero in drm/rect, and fix bounds.
    - Add drm/rect selftests.
    - Add aspect ratio and alternate clocks for HDMI 4k modes.
    - Add todo for drm_framebuffer_funcs and fb_create cleanup.
    - Drop DRM_AUTH for prime import/export ioctls.
    - Clear DP-MST payload id tables downstream when initializating.
    - Fix for DSC throughput definition.
    - Add extra FEC definitions.
    - Fix fake offset in drm_gem_object_funs.mmap.
    - Stop using encoder->bridge in core directly
    - Handle bridge chaining slightly better.
    - Add backlight support to drm/panel, and use it in many panel drivers.
    - Increase max number of y420 modes from 128 to 256, as preparation to add the new modes.

    Driver Changes:
    - Small fixes all over.
    - Fix documentation in vkms.
    - Fix mmap_sem vs dma_resv in nouveau.
    - Small cleanup in komeda.
    - Add page flip support in gma500 for psb/cdv.
    - Add ddc symlink in the connector sysfs directory for many drivers.
    - Add support for analogic an6345, and fix small bugs in it.
    - Add atomic modesetting support to ast.
    - Fix radeon fault handler VMA race.
    - Switch udl to use generic shmem helpers.
    - Unconditional vblank handling for mcde.
    - Miscellaneous fixes to mcde.
    - Tweak debug output from komeda using debugfs.
    - Add gamma and color transform support to komeda for DOU-IPS.
    - Add support for sony acx424AKP panel.
    - Various small cleanups to gma500.
    - Use generic fbdev emulation in udl, and replace udl_framebuffer with generic implementation.
    - Add support for Logic PD Type 28 panel.
    - Use drm_panel_* wrapper functions in exynos/tegra/msm.
    - Add devicetree bindings for generic DSI panels.
    - Don't include drm_pci.h directly in many drivers.
    - Add support for begin/end_cpu_access in udmabuf.
    - Stop using drm_get_pci_dev in gma500 and mga200.
    - Fixes to UDL damage handling, and use dma_buf_begin/end_cpu_access.
    - Add devfreq thermal support to panfrost.
    - Fix hotplug with daisy chained monitors by removing VCPI when disabling topology manager.
    - meson: Add support for OSD1 plane AFBC commit.
    - Stop displaying garbage when toggling ast primary plane on/off.
    - More cleanups and fixes to UDL.
    - Add D32 suport to komeda.
    - Remove globle copy of drm_dev in gma500.
    - Add support for Boe Himax8279d MIPI-DSI LCD panel.
    - Add support for ingenic JZ4770 panel.
    - Small null pointer deference fix in ingenic.
    - Remove support for the special tfp420 driver, as there is a generic way to do it.

    Signed-off-by: Daniel Vetter

    From: Maarten Lankhorst
    Link: https://patchwork.freedesktop.org/patch/msgid/ba73535a-9334-5302-2e1f-5208bd7390bd@linux.intel.com

    Daniel Vetter
     

11 Dec, 2019

2 commits

  • Kernel sphinx has learned how to do that in

    commit d74b0d31dddeac2b44c715588d53d9a1e5b1158e
    Author: Jonathan Corbet
    Date: Thu Apr 25 07:55:07 2019 -0600

    Docs: An initial automarkup extension for sphinx

    Unfortunately it hasn't learned that yet for structures, so we're
    stuck with the :c:type: noise for now still.

    Reviewed-by: Thierry Reding
    Cc: Jonathan Corbet
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191204101933.861169-1-daniel.vetter@ffwll.ch

    Daniel Vetter
     
  • Both locking and especially sequencing of nonblocking commits have
    evolved a lot. The details are all there, but I noticed that the big
    picture and connections have fallen behind a bit. Apply polish.

    Motivated by some review discussions with Thierry.

    v2: Review from Thierry

    Reviewed-by: Thierry Reding
    Cc: Thierry Reding
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191204100011.859468-1-daniel.vetter@ffwll.ch

    Daniel Vetter
     

10 Dec, 2019

1 commit

  • We now only use 1 client without any plan to add more. The client is
    also only holding information about the WQ and the process desc, so we
    can just move those in the intel_guc structure and always use stage_id
    0.

    v2: fix comment (John)
    v3: fix the comment for real, fix kerneldoc

    Signed-off-by: Daniele Ceraolo Spurio
    Cc: Michal Wajdeczko
    Cc: John Harrison
    Cc: Matthew Brost
    Reviewed-by: John Harrison
    Link: https://patchwork.freedesktop.org/patch/msgid/20191205220243.27403-4-daniele.ceraolospurio@intel.com

    Daniele Ceraolo Spurio
     

06 Dec, 2019

1 commit

  • Add a description on VKMS module and the cases in which it should be used.
    There's a brief explanation on how to set it and use it in a VM, along with
    an example of running an igt-test.

    Changes since V3:
    Rodrigo:
    - Change the log message to imperative
    - Fix some bad spelling/writing
    - Add a blank line before enumeration

    Changes since V2:
    Andre:
    - Avoid repetition of words in the same sentence;
    - Make the explanation on 'setting the kernel' shorter, eliminate the
    'make menuconfig' command;
    - Add tab on enumeration to have one line per item;
    - Clarify from each machine igt-tests commands should be ran on.

    Reviewed-by: Rodrigo Siqueira
    Signed-off-by: Gabriela Bittencourt
    Signed-off-by: Rodrigo Siqueira
    Link: https://patchwork.freedesktop.org/patch/msgid/20191104162705.19735-1-gabrielabittencourt00@gmail.com

    Gabriela Bittencourt
     

30 Nov, 2019

2 commits

  • This thing can get called several thousand times per LUT
    so seems like we want to inline it to:
    - avoid the function call overhead
    - allow constant folding

    A quick synthetic test (w/o any hardware interaction) with
    a ridiculously large LUT size shows about 50% reduction in
    runtime on my HSW and BSW boxes. Slightly less with more
    reasonable LUT size but still easily measurable in tens
    of microseconds.

    v2: Include drm_color_mgmt.h in the .rst (Daniel)

    Cc: Daniel Vetter
    Signed-off-by: Ville Syrjälä
    Reviewed-by: Nicholas Kazlauskas
    Link: https://patchwork.freedesktop.org/patch/msgid/20191108135654.12907-1-ville.syrjala@linux.intel.com

    Ville Syrjälä
     
  • We're doing a great job for really simple drivers right now, but still
    a lot of boilerplate for the bigger ones.

    Acked-by: Thomas Zimmermann
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191127180035.416209-3-daniel.vetter@ffwll.ch

    Daniel Vetter
     

07 Nov, 2019

2 commits


05 Nov, 2019

2 commits

  • The IGT documentation in this page is telling us to build it using
    make. According to commit 67993c1 ("automake: Point builders at
    meson") from the IGT project, this is deprecated and IGT should be
    built with meson. Instead of having a documentation for IGT in this
    page, point to their GitLab README, which should always be up to
    date.

    Signed-off-by: Leandro Ribeiro
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191030011211.47942-1-leandrohr@riseup.net

    Leandro Ribeiro
     
  • They're midlayer, broken, and because of the old gunk, we can't fix
    them. For examples see the various checks in drm_mode_object.c against
    dev->registered, which cannot be enforced if the driver still uses the
    load hook.

    Unfortunately our biggest driver still uses load/unload, so this would
    be really great to get fixed.

    Cc: Alex Deucher
    Cc: Harry Wentland
    Reviewed-by: Thierry Reding
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191023144953.28190-2-daniel.vetter@ffwll.ch

    Daniel Vetter
     

04 Nov, 2019

2 commits

  • UAPI Changes:

    - Make context persistence optional
    Allow userspace to tie the context lifetime to FD lifetime,
    effectively allowing Ctrl-C killing of a process to also clean
    up the hardware immediately.
    Compute changes: https://github.com/intel/compute-runtime/pull/228
    The compute driver is shipping in Ubuntu. uAPI acked by Mesa folks.

    - Put future HW and their uAPIs under STAGING & BROKEN
    Introduces DRM_I915_UNSTABLE Kconfig menu for working on the new
    uAPI for future HW in upstream. We already disable driver loading
    by default the platform is deemed ready. This is a second level
    of protection based on compile time switch (STAGING & BROKEN).

    - Under DRM_I915_UNSTABLE: Add the fake lmem region on iGFX
    Fake local memory region on integrated GPU through cmdline:
    memmap=2G$16G i915.fake_lmem_start=0x400000000
    Currently allows testing non-mappable GGTT behavior and running
    kernel selftest for local memory.

    Driver Changes:

    - Fix Bugzilla #112084: VGA external monitor not working (Ville)
    - Add support for half float framebuffers (Ville)
    - Add perf support on TGL (Lionel)
    - Replace hangcheck by heartbeats (Chris)
    - Allow SPT PCH on all AML devices (James)
    - Add new CNL PCH for CML platform (Imre)
    - Allow 100 ms (Kconfig) for workloads to exit before reset (Chris, Jon, Joonas)
    - Forcibly pre-empt a context after 100 ms (Kconfig) of delay (Chris)
    - Make timeslice duration Kconfig configurable (Chris)
    - Whitelist PS_(DEPTH|INVOCATION)_COUNT for Tigerlake (Tapani)
    - Support creating LMEM objects in kernel (Matt A)
    - Adjust the location of RING_MI_MODE in the context image for TGL (Chris)
    - Handle AUX interrupts for TC ports (Matt R)
    - Add support for devices without mappable GGTT aperture (Daniele)
    - Rename "inject_load_failure" module parameter to "inject_probe_failure" (Janusz)
    - Handle fused off HDCP, FBC, DMC and DSC (Jose)
    - Add support to one DP-MST stream on Tigerlake (Lucas)
    - Add HuC firmware (and GuC) for TGL (Daniele)
    - Allow ICL+ DSI on any pipe (Ville)

    - Check some transcoder timing minimum limits (Ville)
    - Don't set queue_priority_hint if we don't kick the submission (Chris)
    - Introduce barrier pulses along engines to flush idle/in-flight requests (Chris)
    - Drop assertion that ce->pin_mutex guards state updates (Chris)
    - Cancel banned contexts on schedule-out (Chris)
    - Cancel contexts when hangchecking is disabled (Chris)
    - Catch GTT fault errors for gen11+ planes (Matt R)
    - Print in debugfs if PSR is not enabled because of sink (Jose)
    - Do not set MOCS control values on dgfx (Lucas)
    - Setup io-mapping for LMEM (Abdiel)
    - Support kernel mapping of LMEM objects (Abdiel)
    - Add LMEM selftests (Matt A)
    - Initialise PMU spinlock before registering (Chris)
    - Clear DKL_TX_PMD_LANE_SUS before program TC voltage swing (Jose)
    - Flip interpretation of ips fmin/fmax to max rps (Chris)
    - Add VBT compression parameter block definition (Jani)
    - Limit the blitter sizes to ensure low preemption latency (Chris)
    - Fixup block_size rounding on BLT (Matt A)
    - Don't try to place HWS in non-existing mappable region (Michal Wa)
    - Don't allocate the ring in stolen if we lack aperture (Matt A)
    - Add AUX B & C to DC_OFF_POWER_DOMAINS for Tigerlake (Matt R)
    - Avoid HPD poll detect triggering a new detect cycle (Imre)
    - Document the userspace fail with possible_crtcs (Ville)
    - Drop lrc header page now unused by GuC (Daniele)
    - Do not switch aux to TBT mode for non-TC ports (Jose)

    - Restructure code to avoid depending on i915 but smaller structs (Chris, Tvrtko, Andi)
    - Remove pm park/unpark notifications (Chris)
    - Avoid lockdep cross-contamination between object types (Chris)
    - Restructure DSC code (Jani)
    - Fix dead locking in early workload shadow (Zhenyu)
    - Split the legacy submission backend from the common CS ring buffer (Chris)
    - Move intel_engine_context_in/out into intel_lrc.c (Tvrtko)
    - Describe perf/wakeref structure members in documentation (Anna)
    - Update renamed header files names in documentation (Anna)
    - Add debugs to distingiush a cd2x update from a full cdclk pll update (Ville)
    - Rework atomic global state locking (Ville)
    - Allow planes to declare their minimum acceptable cdclk (Ville)
    - Eliminate skl_check_pipe_max_pixel_rate() and simplify skl_max_scale() (Ville)
    - Making loglevel of PSR2/SU logs same (Ap)
    - Capture aux page table error register (Lionel)
    - Add is_dgfx to device info (Jose)
    - Split gen11_irq_handler to make it shareable (Lucas)
    - Encapsulate kconfig constant values inside boolean predicates (Chris)
    - Split memory_region initialisation into its own file (Chris)
    - Use _PICK() for CHICKEN_TRANS() and add CHICKEN_TRANS_D (Ville)
    - Add perf helper macros for comparing with whitelisted registers (Umesh)
    - Fix i915_inject_load_error() name to read *_probe_* (Janusz)
    - Drop unused AUX register offsets (Matt R)
    - Provide more information on DP AUX failures (Matt R)
    - Add GAM/SFC instdone to error state (Mika)
    - Always track callers to intel_rps_mark_interactive() (Chris)
    - Nuke 'mode' argument to intel_get_load_detect_pipe() (Ville)
    - Simplify LVDS crtc_mask and pipe_mask setup (Ville)
    - Stop frobbing crtc->base.mode (Ville)
    - Do s/crtc_mask/pipe_mask/ (Ville)
    - Split detaching and removing the vma (Chris)

    - Selftest improvements (Chris, Tvrtko, Mika, Matt A, Lionel)
    - GuC code improvements (Rob, Andi, Daniele)

    - Check against i915_selftest only under CONFIG_SELFTEST (Chris)
    - Refine occupancy test in kill_context() (Chris)
    - Start kthreads before stopping (Chris)

    Signed-off-by: Dave Airlie
    From: Joonas Lahtinen
    Link: https://patchwork.freedesktop.org/patch/msgid/20191101104718.GA14323@jlahtine-desk.ger.corp.intel.com

    Dave Airlie
     
  • drm-misc-next for 5.5:

    UAPI Changes:
    -dma-buf: Introduce and revert dma-buf heap (Andrew/John/Sean)

    Cross-subsystem Changes:
    - None

    Core Changes:
    -dma-buf: add dynamic mapping to allow exporters to choose dma_resv lock
    state on mmap/munmap (Christian)
    -vram: add prepare/cleanup fb helpers to vram helpers (Thomas)
    -ttm: always keep bo's on the lru + ttm cleanups (Christian)
    -sched: allow a free_job routine to sleep (Steven)
    -fb_helper: remove unused drm_fb_helper_defio_init() (Thomas)

    Driver Changes:
    -bochs/hibmc/vboxvideo: Use new vram helpers for prepare/cleanup fb (Thomas)
    -amdgpu: Implement dma-buf import/export without drm helpers (Christian)
    -panfrost: Simplify devfreq integration in driver (Steven)

    Cc: Christian König
    Cc: Thomas Zimmermann
    Cc: Steven Price
    Cc: Andrew F. Davis
    Cc: John Stultz
    Cc: Sean Paul
    Signed-off-by: Dave Airlie

    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20191031193015.GA243509@art_vandelay

    Dave Airlie
     

30 Oct, 2019

1 commit

  • drm-misc-next for 5.5:

    UAPI Changes:
    -syncobj: allow querying the last submitted timeline value (David)
    -fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam)
    -omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean)

    Cross-subsystem Changes:
    -MAINTAINERS: add Mihail as komeda co-maintainer (Mihail)

    Core Changes:
    -edid: a few cleanups, add AVI infoframe bar info (Ville)
    -todo: remove i915 device_link item and add difficulty levels (Daniel)
    -dp_helpers: add a few new helpers to parse dpcd (Thierry)

    Driver Changes:
    -gma500: fix a few memory disclosure leaks (Kangjie)
    -qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd)
    -various: open code dp_link helpers in preparation for helper removal (Thierry)

    Cc: Chunming Zhou
    Cc: Adam Jackson
    Cc: Sean Paul
    Cc: Ville Syrjälä
    Cc: Kangjie Lu
    Cc: Mihail Atanassov
    Cc: Daniel Vetter
    Cc: Thierry Reding
    Signed-off-by: Dave Airlie

    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20191024155535.GA10294@art_vandelay

    Dave Airlie
     

28 Oct, 2019

1 commit

  • The TODO item is misleading and makes it seem as if fbdev emulation
    cannot be used with SHMEM. Rephrase the text to describe the current
    situation more correctly.

    Signed-off-by: Thomas Zimmermann
    Acked-by: Noralf Trønnes
    Link: https://patchwork.freedesktop.org/patch/msgid/20191025092759.13069-3-tzimmermann@suse.de

    Thomas Zimmermann
     

26 Oct, 2019

1 commit

  • drm-next-5.5-2019-10-09:

    amdgpu:
    - Additional RAS enablement for vega20
    - RAS page retirement and bad page storage in EEPROM
    - No GPU reset with unrecoverable RAS errors
    - Reserve vram for page tables rather than trying to evict
    - Fix issues with GPU reset and xgmi hives
    - DC i2c over aux fixes
    - Direct submission for clears, PTE/PDE updates
    - Improvements to help support recoverable GPU page faults
    - Silence harmless SAD block messages
    - Clean up code for creating a bo at a fixed location
    - Initial DC HDCP support
    - Lots of documentation fixes
    - GPU reset for renoir
    - Add IH clockgating support for soc15 asics
    - Powerplay improvements
    - DC MST cleanups
    - Add support for MSI-X
    - Misc cleanups and bug fixes

    amdkfd:
    - Query KFD device info by asic type rather than pci ids
    - Add navi14 support
    - Add renoir support
    - Add navi12 support
    - gfx10 trap handler improvements
    - pasid cleanups
    - Check against device cgroup

    ttm:
    - Return -EBUSY with pipelining with no_gpu_wait

    radeon:
    - Silence harmless SAD block messages

    device_cgroup:
    - Export devcgroup_check_permission

    Signed-off-by: Dave Airlie

    From: Alex Deucher
    Link: https://patchwork.freedesktop.org/patch/msgid/20191010041713.3412-1-alexander.deucher@amd.com

    Dave Airlie
     

25 Oct, 2019

1 commit

  • Update header files containing i915_perf_stream, i915_perf_stream_ops
    and i915_oa_ops definitions since they have been moved from i915_drv.h
    to i915_perf_types.h.

    Cc: Robert Bragg
    Cc: Lionel Landwerlin
    Signed-off-by: Anna Karas
    Reviewed-by: Lionel Landwerlin
    Signed-off-by: Chris Wilson
    Link: https://patchwork.freedesktop.org/patch/msgid/20191022100906.16597-1-anna.karas@intel.com

    Anna Karas
     

23 Oct, 2019

3 commits

  • Parroting Daniel's backmerge justification from
    2e79e22e092acd55da0b2db066e4826d7d152c41:

    Thierry needs fd70c7755bf0 ("drm/bridge: tc358767: fix max_tu_symbol
    value") to be able to merge his dp_link patch series.

    Signed-off-by: Sean Paul

    Sean Paul
     
  • Should help new people pick suitable tasks.

    Cc: Rodrigo Siqueira
    Cc: Manasi Navare
    Cc: Sean Paul
    Reviewed-by: Sean Paul
    Acked-by: Thomas Zimmermann
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191022152530.22038-2-daniel.vetter@ffwll.ch

    Daniel Vetter
     
  • Done with

    commit aef9f33b7658a7489f71df5d6e6ecb47f2521e8a
    Author: Imre Deak
    Date: Tue Oct 23 17:43:10 2018 +0300

    drm/i915: Ensure proper HDA suspend/resume ordering with a device link

    Cc: Imre Deak
    Reviewed-by: Sean Paul
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191022152530.22038-1-daniel.vetter@ffwll.ch

    Daniel Vetter
     

18 Oct, 2019

3 commits

  • Better explain the usage of the microcontroller and what i915 is
    responsible of. While at it, fix the documentation for the auth
    function, which doesn't do any pinning anymore.

    v2: add a comment on HuC being optional and descrive how HuC accesses
    memory (Martin)
    v3: add extra newline for better text organization (Martin)

    Signed-off-by: Daniele Ceraolo Spurio
    Cc: Michal Wajdeczko
    Cc: Martin Peres
    Acked-by: Anna Karas
    Reviewed-by: Martin Peres
    Link: https://patchwork.freedesktop.org/patch/msgid/20191014183602.3643-3-daniele.ceraolospurio@intel.com

    Daniele Ceraolo Spurio
     
  • Add a short description of what we expect from GuC and some minor
    improvements to existing documentation. Also remove a comment about a
    difference between GuC and HuC that is not true anymore.

    v2: add that the GuC is not mandatory (Martin)
    v3: add extra newline for better text organization (Martin)

    Signed-off-by: Daniele Ceraolo Spurio
    Cc: Michal Wajdeczko
    Cc: Matthew Brost
    Cc: Martin Peres
    Acked-by: Anna Karas
    Reviewed-by: Martin Peres
    Link: https://patchwork.freedesktop.org/patch/msgid/20191014183602.3643-2-daniele.ceraolospurio@intel.com

    Daniele Ceraolo Spurio
     
  • To better organize the information, add a microcontrollers section and
    move/link the GuC, HuC and DMC documentation under it. Also add a small
    intro.

    Signed-off-by: Daniele Ceraolo Spurio
    Cc: Michal Wajdeczko
    Acked-by: Anna Karas
    Reviewed-by: Martin Peres
    Link: https://patchwork.freedesktop.org/patch/msgid/20191014183602.3643-1-daniele.ceraolospurio@intel.com

    Daniele Ceraolo Spurio
     

17 Oct, 2019

1 commit


11 Oct, 2019

1 commit

  • drm-misc-next for 5.5:

    UAPI Changes:
    -Colorspace: Expose different prop values for DP vs. HDMI (Gwan-gyeong Mun)
    -fourcc: Add DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED (Raymond)
    -not_actually: s/ENOTSUPP/EOPNOTSUPP/ in drm_edid and drm_mipi_dbi. This should
    not reach userspace, but adding here to specifically call that out (Daniel)
    -i810: Prevent underflow in dispatch ioctls (Dan)
    -komeda: Add ACLK sysfs attribute (Mihail)
    -v3d: Allow userspace to clean up after render jobs (Iago)

    Cross-subsystem Changes:
    -MAINTAINERS:
    -Add Alyssa & Steven as panfrost reviewers (Rob)
    -Add Jernej as DE2 reviewer (Maxime)
    -Add Chen-Yu as Allwinner maintainer (Maxime)
    -staging: Make some stack arrays static const (Colin)

    Core Changes:
    -ttm: Allow drivers to specify their vma manager (to use gem mgr) (Gerd)
    -docs: Various fixes in connector/encoder/bridge docs (Daniel, Lyude, Laurent)
    -connector: Allow more than 3 possible encoders for a connector (José)
    -dp_cec: Allow a connector to be associated with a cec device (Dariusz)
    -various: Fix some compile/sparse warnings (Ville)
    -mm: Ensure mm node removals are properly serialised (Chris)
    -panel: Specify the type of panel for drm_panels for later use (Laurent)
    -panel: Use drm_panel_init to init device and funcs (Laurent)
    -mst: Refactors and cleanups in anticipation of suspend/resume support (Lyude)
    -vram:
    -Add lazy unmapping for gem bo's (Thomas)
    -Unify and rationalize vram mm and gem vram (Thomas)
    -Expose vmap and vunmap for gem vram objects (Thomas)
    -Allow objects to be pinned at the top of vram to avoid fragmentation (Thomas)

    Driver Changes:
    -various: Include drm_bridge.h instead of relying on drm_crtc.h (Boris)
    -ast/mgag200: Refactor show_cursor(), move cursor to top of video mem (Thomas)
    -komeda:
    -Add error event printing (behind CONFIG) and reg dump support (Lowry)
    -Add suspend/resume support (Lowry)
    -Workaround D71 shadow registers not flushing on disable (Lowry)
    -meson: Add suspend/resume support (Neil)
    -omap: Miscellaneous refactors and improvements (Tomi/Jyri)
    -panfrost/shmem: Silence lockdep by using mutex_trylock (Rob)
    -panfrost: Miscellaneous small fixes (Rob/Steven)
    -sti: Fix warnings (Benjamin/Linus)
    -sun4i:
    -Add vcc-dsi regulator to sun6i_mipi_dsi (Jagan)
    -A few patches to figure out the DRQ/start delay calc on dsi (Jagan/Icenowy)
    -virtio:
    -Add module param to switch resource reuse workaround on/off (Gerd)
    -Avoid calling vmexit while holding spinlock (Gerd)
    -Use gem shmem helpers instead of ttm (Gerd)
    -Accommodate command buffer allocations too big for cma (David)

    Cc: Rob Herring
    Cc: Maxime Ripard
    Cc: Gwan-gyeong Mun
    Cc: Gerd Hoffmann
    Cc: Laurent Pinchart
    Cc: Lyude Paul
    Cc: José Roberto de Souza
    Cc: Dariusz Marcinkiewicz
    Cc: Ville Syrjälä
    Cc: Raymond Smith
    Cc: Chris Wilson
    Cc: Colin Ian King
    Cc: Thomas Zimmermann
    Cc: Dan Carpenter
    Cc: Mihail Atanassov
    Cc: Lowry Li
    Cc: Neil Armstrong
    Cc: Jyri Sarha
    Cc: Tomi Valkeinen
    Cc: Alyssa Rosenzweig
    Cc: Steven Price
    Cc: Benjamin Gaignard
    Cc: Linus Walleij
    Cc: Jagan Teki
    Cc: Icenowy Zheng
    Cc: Iago Toral Quiroga
    Cc: David Riley
    Signed-off-by: Dave Airlie

    # gpg: Signature made Thu 10 Oct 2019 01:00:47 AM AEST
    # gpg: using RSA key 732C002572DCAF79
    # gpg: Can't check signature: public key not found

    # Conflicts:
    # drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
    # drivers/gpu/drm/i915/i915_drv.c
    # drivers/gpu/drm/i915/i915_gem.c
    # drivers/gpu/drm/i915/i915_gem_gtt.c
    # drivers/gpu/drm/i915/i915_vma.c
    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20191009150825.GA227673@art_vandelay

    Dave Airlie
     

10 Oct, 2019

1 commit

  • Fixes the following warning:
    ../include/drm/drm_atomic_state_helper.h:1: warning: no structured comments found

    Fixes: 9ef8a9dc4b21 ("drm: Extract drm_atomic_state_helper.[hc]")
    Cc: Ville Syrjälä
    Cc: Daniel Vetter
    Cc: Maarten Lankhorst
    Cc: Maxime Ripard
    Cc: Sean Paul
    Cc: David Airlie
    Cc: Daniel Vetter
    Cc: dri-devel@lists.freedesktop.org
    Reviewed-by: Daniel Vetter
    Signed-off-by: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20191007151921.27099-1-sean@poorly.run

    Sean Paul
     

09 Oct, 2019

1 commit

  • There is finally no more users left in the kernel of drmP.h
    and drm_os_linux.h (drmP.h was the only user left).
    Delete the header files and delete the corresponding todo entry.

    When we started this quest there was more than 700 users of drmP.h.
    And drmP.h was a huge cover-it-all header file.

    Daniel Vetter is the one that followed the work from start
    to the end and in between many people have contributed to the
    removal process - thanks to everyone!

    Signed-off-by: Sam Ravnborg
    Reviewed-by: Sean Paul
    Reviewed-by: Lyude Paul
    Cc: Maarten Lankhorst
    Cc: Maxime Ripard
    Cc: Sean Paul
    Cc: David Airlie
    Cc: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20191007171224.1581-3-sam@ravnborg.org

    Sam Ravnborg
     

06 Oct, 2019

1 commit

  • The :doc: reference did not match the DOC comment's name.

    Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
    Signed-off-by: Jonathan Neuschäfer
    Signed-off-by: Linus Walleij
    Link: https://patchwork.freedesktop.org/patch/msgid/20191002153827.23026-1-j.neuschaefer@gmx.net

    Jonathan Neuschäfer
     

03 Oct, 2019

3 commits


23 Sep, 2019

2 commits

  • Fixes
    include/drm/drm_gem_ttm_helper.h:1: warning: no structured comments found

    Fixes: ff540b76f14a ("drm/ttm: add drm gem ttm helpers, starting with drm_gem_ttm_print_info()")
    Cc: Gerd Hoffmann
    Cc: Thomas Zimmermann
    Cc: Daniel Vetter
    Cc: Maarten Lankhorst
    Cc: Maxime Ripard
    Cc: Sean Paul
    Cc: David Airlie
    Cc: Daniel Vetter
    Cc: dri-devel@lists.freedesktop.org
    Acked-by: Thomas Zimmermann
    Reviewed-by: Gerd Hoffmann
    Signed-off-by: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20190920193558.89815-2-sean@poorly.run

    Sean Paul
     
  • Added docbook info regarding Display State Buffer(DSB) which
    is added from gen12 onwards to batch submit display HW programming.

    v1: Initial version as RFC.

    Cc: Jani Nikula
    Cc: Rodrigo Vivi
    Cc: Shashank Sharma
    Reviewed-by: Shashank Sharma
    Signed-off-by: Animesh Manna
    Signed-off-by: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/20190920115930.27829-11-animesh.manna@intel.com

    Animesh Manna
     

18 Sep, 2019

1 commit


13 Sep, 2019

1 commit

  • The separation between GEM VRAM objects and the memory manager is
    artificial, as they are only used with each other. Copying both
    implementations into the same file is a first step to simplifying
    the code.

    This patch only moves code without functional changes.

    v3:
    * update to use dev->vma_offset_manager
    v2:
    * update for debugfs support
    * typos in commit message

    Signed-off-by: Thomas Zimmermann
    Acked-by: Gerd Hoffmann
    Link: https://patchwork.freedesktop.org/patch/msgid/20190911110910.30698-2-tzimmermann@suse.de

    Thomas Zimmermann
     

10 Sep, 2019

1 commit

  • Now with ttm_buffer_object being a subclass of drm_gem_object we can
    easily lookup ttm_buffer_object for a given drm_gem_object, which in
    turn allows to create common helper functions.

    This patch starts off with a drm_gem_ttm_print_info() helper function
    which adds some ttm specific lines to the debug output.

    Signed-off-by: Gerd Hoffmann
    Acked-by: Thomas Zimmermann
    Reviewed-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20190904054740.20817-3-kraxel@redhat.com

    Gerd Hoffmann
     

30 Aug, 2019

1 commit

  • Indent GuC/WOPCM documentation correctly to reside under
    "Memory Management and Command Submission" section to avoid
    it escaping to the upper level navigation.

    Signed-off-by: Joonas Lahtinen
    Cc: Michal Wajdeczko
    Cc: Daniele Ceraolo Spurio
    Cc: Chris Wilson
    Acked-by: Chris Wilson
    Signed-off-by: Chris Wilson
    Link: https://patchwork.freedesktop.org/patch/msgid/20190830085849.12519-2-joonas.lahtinen@linux.intel.com

    Joonas Lahtinen