09 May, 2019

2 commits

  • Pull drm updates from Dave Airlie:
    "This has two exciting community drivers for ARM Mali accelerators.
    Since ARM has never been open source friendly on the GPU side of the
    house, the community has had to create open source drivers for the
    Mali GPUs. Lima covers the older t4xx and panfrost the newer 6xx/7xx
    series. Well done to all involved and hopefully this will help ARM
    head in the right direction.

    There is also now the ability if you don't have any of the legacy
    drivers enabled (pre-KMS) to remove all the pre-KMS support code from
    the core drm, this saves 10% or so in codesize on my machine.

    i915 also enable Icelake/Elkhart Lake Gen11 GPUs by default, vboxvideo
    moves out of staging.

    There are also some rcar-du patches which crossover with media tree
    but all should be acked by Mauro.

    Summary:

    uapi changes:
    - Colorspace connector property
    - fourcc - new YUV formts
    - timeline sync objects initially merged
    - expose FB_DAMAGE_CLIPS to atomic userspace

    new drivers:
    - vboxvideo: moved out of staging
    - aspeed: ASPEED SoC BMC chip display support
    - lima: ARM Mali4xx GPU acceleration driver support
    - panfrost: ARM Mali6xx/7xx Midgard/Bitfrost acceleration driver support

    core:
    - component helper docs
    - unplugging fixes
    - devm device init
    - MIPI/DSI rate control
    - shmem backed gem objects
    - connector, display_info, edid_quirks cleanups
    - dma_buf fence chain support
    - 64-bit dma-fence seqno comparison fixes
    - move initial fb config code to core
    - gem fence array helpers for Lima
    - ability to remove legacy support code if no drivers requires it (removes 10% of drm.ko size)
    - lease fixes

    ttm:
    - unified DRM_FILE_PAGE_OFFSET handling
    - Account for kernel allocations in kernel zone only

    panel:
    - OSD070T1718-19TS panel support
    - panel-tpo-td028ttec1 backlight support
    - Ronbo RB070D30 MIPI/DSI
    - Feiyang FY07024DI26A30-D MIPI-DSI panel
    - Rocktech jh057n00900 MIPI-DSI panel

    i915:
    - Comet Lake (Gen9) PCI IDs
    - Updated Icelake PCI IDs
    - Elkhartlake (Gen11) support
    - DP MST property addtions
    - plane and watermark fixes
    - Icelake port sync and VEBOX disable fixes
    - struct_mutex usage reduction
    - Icelake gamma fix
    - GuC reset fixes
    - make mmap more asynchronous
    - sound display power well race fixes
    - DDI/MIPI-DSI clocks for Icelake
    - Icelake RPS frequency changing support
    - Icelake workarounds

    amdgpu:
    - Use HMM for userptr
    - vega20 experimental smu11 support
    - RAS support for vega20
    - BACO support for vega12 + fixes for vega20
    - reworked IH interrupt handling
    - amdkfd RAS support
    - Freesync improvements
    - initial timeline sync object support
    - DC Z ordering fixes
    - NV12 planes support
    - colorspace properties for planes=
    - eDP opts if eDP already initialized

    nouveau:
    - misc fixes

    etnaviv:
    - misc fixes

    msm:
    - GPU zap shader support expansion
    - robustness ABI addition

    exynos:
    - Logging cleanups

    tegra:
    - Shared reset fix
    - CPU cache maintenance fix

    cirrus:
    - driver rewritten using simple helpers

    meson:
    - G12A support

    vmwgfx:
    - Resource dirtying management improvements
    - Userspace logging improvements

    virtio:
    - PRIME fixes

    rockchip:
    - rk3066 hdmi support

    sun4i:
    - DSI burst mode support

    vc4:
    - load tracker to detect underflow

    v3d:
    - v3d v4.2 support

    malidp:
    - initial Mali D71 support in komeda driver

    tfp410:
    - omap related improvement

    omapdrm:
    - drm bridge/panel support
    - drop some omap specific panels

    rcar-du:
    - Display writeback support"

    * tag 'drm-next-2019-05-09' of git://anongit.freedesktop.org/drm/drm: (1507 commits)
    drm/msm/a6xx: No zap shader is not an error
    drm/cma-helper: Fix drm_gem_cma_free_object()
    drm: Fix timestamp docs for variable refresh properties.
    drm/komeda: Mark the local functions as static
    drm/komeda: Fixed warning: Function parameter or member not described
    drm/komeda: Expose bus_width to Komeda-CORE
    drm/komeda: Add sysfs attribute: core_id and config_id
    drm: add non-desktop quirk for Valve HMDs
    drm/panfrost: Show stored feature registers
    drm/panfrost: Don't scream about deferred probe
    drm/panfrost: Disable PM on probe failure
    drm/panfrost: Set DMA masks earlier
    drm/panfrost: Add sanity checks to submit IOCTL
    drm/etnaviv: initialize idle mask before querying the HW db
    drm: introduce a capability flag for syncobj timeline support
    drm: report consistent errors when checking syncobj capibility
    drm/nouveau/nouveau: forward error generated while resuming objects tree
    drm/nouveau/fb/ramgk104: fix spelling mistake "sucessfully" -> "successfully"
    drm/nouveau/i2c: Disable i2c bus access after ->fini()
    drm/nouveau: Remove duplicate ACPI_VIDEO_NOTIFY_PROBE definition
    ...

    Linus Torvalds
     
  • This is the 2nd pull request for the malidp-next. The new patches add
    additional support for Arm Mali D71 so that it can now be enabled
    correctly and brought up on any SoC that contains the IP. From now on
    we will start focusing on adding writeback, scaling and other useful
    features to bring the driver to the same level of maturity as mali-dp.

    Signed-off-by: Dave Airlie
    From: Liviu Dudau
    Link: https://patchwork.freedesktop.org/patch/msgid/20190507103712.GJ15144@e110455-lin.cambridge.arm.com

    Dave Airlie
     

02 May, 2019

2 commits

  • Unfortunately userspace users of this API cannot be publicly disclosed
    yet.

    This commit effectively disables timeline syncobj ioctls for all
    drivers. Each driver wishing to support this feature will need to
    expose DRIVER_SYNCOBJ_TIMELINE.

    v2: Add uAPI capability check (Christian)

    Signed-off-by: Lionel Landwerlin
    Reviewed-by: Christian König (v1)
    Cc: Dave Airlie
    Cc: Daniel Vetter
    Cc: Christian König
    Cc: Chunming Zhou
    Reviewed-by: Dave Airlie
    Reviewed-by: Chunming Zhou
    Signed-off-by: Dave Airlie
    Link: https://patchwork.freedesktop.org/patch/msgid/20190416125750.31370-1-lionel.g.landwerlin@intel.com

    Lionel Landwerlin
     
  • …drm-misc into drm-next

    core: restore drm mmap_range size back to 1TB (Philip)
    sphinx: squash warning (Sean)

    Cc: Philip Yang <Philip.Yang@amd.com>
    Cc: Sean Paul <seanpaul@chromium.org>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

    From: Sean Paul <sean@poorly.run>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190501190921.GA120430@art_vandelay

    Dave Airlie
     

29 Apr, 2019

1 commit


25 Apr, 2019

1 commit

  • After patch "drm: Use the same mmap-range offset and size for GEM and
    TTM", application failed to create bo of system memory because drm
    mmap_range size decrease to 64GB from original 1TB. This is not big
    enough for applications. Increase the drm mmap_range size to 1TB.

    Reviewed-by: Thomas Zimmermann
    Reviewed-by: Christian König
    Signed-off-by: Philip Yang
    Signed-off-by: Alex Deucher
    Link: https://patchwork.freedesktop.org/patch/msgid/20190417221507.933-1-Philip.Yang@amd.com
    (cherry picked from commit 96354b5ca4ac74d2e47e75987283963001b517f6)

    Philip Yang
     

24 Apr, 2019

6 commits

  • Pull legacy cleanups from Dave.

    Signed-off-by: Daniel Vetter
    From: Dave Airlie
    Link: https://patchwork.freedesktop.org/patch/msgid/CAPM=9tztr1GoR0gr1CXPv8FsAXE4iuoRZDWKYovtnb6oDGF-Lg@mail.gmail.com

    Daniel Vetter
     
  • This removes these unless legacy is enabled.

    The lock count init is unneeded anyways since it's kzalloc.

    Reviewed-by: Daniel Vetter
    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • This places a bunch of the legacy members of drm_device into
    only being there when legacy is enabled.

    Reviewed-by: Daniel Vetter
    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • This isn't used by drivers, and won't be in the future.

    Reviewed-by: Daniel Vetter
    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • drm-misc-next for v5.2:

    UAPI Changes:
    - Document which feature flags belong to which command in virtio_gpu.h
    - Make the FB_DAMAGE_CLIPS available for atomic userspace only, it's useless for legacy.

    Cross-subsystem Changes:
    - Add device tree bindings for lg,acx467akm-7 panel and ST-Ericsson Multi Channel Display Engine MCDE
    - Add parameters to the device tree bindings for tfp410
    - iommu/io-pgtable: Add ARM Mali midgard MMU page table format
    - dma-buf: Only do a 64-bits seqno compare when driver explicitly asks for it, else wraparound.
    - Use the 64-bits compare for dma-fence-chains

    Core Changes:
    - Make the fb conversion functions use __iomem dst.
    - Rename drm_client_add to drm_client_register
    - Move intel_fb_initial_config to core.
    - Add a drm_gem_objects_lookup helper
    - Add drm_gem_fence_array helpers, and use it in lima.
    - Add drm_format_helper.c to kerneldoc.

    Driver Changes:
    - Add panfrost driver for mali midgard/bitfrost.
    - Converts bochs to use the simple display type.
    - Small fixes to sun4i, tinydrm, ti-fp410.
    - Fid aspeed's Kconfig options.
    - Make some symbols/functions static in lima, sun4i and meson.
    - Add a driver for the lg,acx467akm-7 panel.

    Signed-off-by: Dave Airlie

    From: Maarten Lankhorst
    Link: https://patchwork.freedesktop.org/patch/msgid/737ad994-213d-45b5-207a-b99d795acd21@linux.intel.com

    Dave Airlie
     
  • UAPI Changes:

    - uAPI "Fixes:" patch for the upcoming kernel 5.1, included here too

    We have an Ack from the media folks (only current user) for this
    late tweak

    Cross-subsystem Changes:

    - ALSA: hda: Fix racy display power access (Takashi, Chris)

    Driver Changes:

    - DDI and MIPI-DSI clocks fixes for Icelake (Vandita)
    - Fix Icelake frequency change/locking (RPS) (Mika)
    - Temporarily disable ppGTT read-only bit on Icelake (Mika)
    - Add missing Icelake W/As (Mika)
    - Enable 12 deep CSB status FIFO on Icelake (Mika)
    - Inherit more Icelake code for Elkhartlake (Bob, Jani)

    - Handle catastrophic error on engine reset (Mika)
    - Shortcut readiness to reset check (Mika)
    - Regression fix for GEM_BUSY causing us to report a mixed uabi-class request as not busy (Chris)
    - Revert back to max link rate and lane count on eDP (Jani)
    - Fix pipe BPP readout for BXT/GLK DSI (Ville)
    - Set DP min_bpp to 8*3 for non-RGB output formats (Ville)
    - Enable coarse preemption boundaries for Gen8 (Chris)
    - Do not enable FEC without DSC (Ville)
    - Restore correct BXT DDI latency optim setting calculation (Ville)
    - Always reset context's RING registers to avoid running workload twice during reset (Chris)
    - Set GPU wedged on driver unload (Janusz)
    - Consolidate two similar barries from timeline into one (Chris)
    - Only reset the pinned kernel contexts on resume (Chris)
    - Wakeref tracking improvements (Chris, Imre)
    - Lockdep fixes for shrinker interactions (Chris)
    - Bump ready tasks ahead of busywaits in prep of semaphore use (Chris)

    - Huge step in splitting display code into fine grained files (Jani)
    - Refactor the IRQ init/reset macros for code saving (Paulo)
    - Convert IRQ initialization code to uncore MMIO access (Paulo)
    - Convert workarounds code to use uncore MMIO access (Chris)
    - Nuke drm_crtc_state and use intel_atomic_state instead (Manasi)
    - Update SKL clock-gating WA (Radhakrishna, Ville)
    - Isolate GuC reset code flow (Chris)
    - Expose force_dsc_enable through debugfs (Manasi)
    - Header standalone compile testing framework (Jani)
    - Code cleanups to reduce driver footprint (Chris)
    - PSR code fixes and cleanups (Jose)
    - Sparse and kerneldoc updates (Chris)
    - Suppress spurious combo PHY B warning (Vile)

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

    Dave Airlie
     

20 Apr, 2019

1 commit

  • When a driver unloads without unloading TTM we don't correctly
    clear the global structures leading to errors on re-init.

    Next step should probably be to remove the global structures and
    kobjs all together, but this is tricky since we need to maintain
    backward compatibility.

    Signed-off-by: Christian König
    Reviewed-by: Karol Herbst
    Tested-by: Karol Herbst
    CC: stable@vger.kernel.org # 5.0.x
    Signed-off-by: Alex Deucher

    Christian König
     

17 Apr, 2019

1 commit

  • I needed to add implicit dependency support for v3d, and Rob Herring
    has been working on it for panfrost, and I had recently looked at the
    lima implementation so I think this will be a good intersection of
    what we all want and simplify our scheduler implementations.

    v2: Rebase on xa_limit_32b API change, and tiny checkpatch cleanups on
    the way in (unsigned int vs unsigned, extra return before
    EXPORT_SYMBOL_GPL)

    Signed-off-by: Eric Anholt
    Link: https://patchwork.freedesktop.org/patch/msgid/20190401222635.25013-6-eric@anholt.net
    Reviewed-and-tested-by: Qiang Yu (v1)

    Eric Anholt
     

15 Apr, 2019

1 commit


13 Apr, 2019

1 commit

  • Similar to the single handle drm_gem_object_lookup(),
    drm_gem_objects_lookup() takes an array of handles and returns an array
    of GEM objects.

    v2:
    - Take the userspace pointer directly and allocate the array.
    - Expand the function documentation.

    Cc: Maarten Lankhorst
    Cc: Maxime Ripard
    Cc: Sean Paul
    Cc: David Airlie
    Cc: Daniel Vetter
    Acked-by: Alyssa Rosenzweig
    Acked-by: Tomeu Vizoso
    Signed-off-by: Rob Herring
    Link: https://patchwork.freedesktop.org/patch/msgid/20190409205427.6943-3-robh@kernel.org

    Rob Herring
     

12 Apr, 2019

1 commit

  • drm-misc-next for 5.2:

    UAPI Changes:
    - None

    Cross-subsystem Changes:
    -MAINTAINERS: Add moderation flag for lima mailing list (Randy)
    -dt-bindings: Add Mali Bifrost bindings (Neil)
    -dt-bindings: Add G12A compatibility strings to meson bindings (Neil)

    Core Changes:
    -Add a handful of format helpers (Gerd)

    Driver Changes:
    -cirrus: Driver rewrite megapatch (Gerd)
    -meson: Add G12A support to meson driver (Neil)
    -lima: Couple fixes (Qiang)

    Cc: Gerd Hoffmann
    Cc: Randy Dunlap
    Cc: Neil Armstrong
    Cc: Qiang Yu
    Signed-off-by: Dave Airlie

    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20190410194907.GA108842@art_vandelay

    Dave Airlie
     

11 Apr, 2019

6 commits

  • It is generic code and having it in the helper will let other drivers
    benefit from it.

    One change was necessary assuming this to be true:
    INTEL_INFO(dev_priv)->num_pipes == dev->mode_config.num_crtc

    Suggested-by: Daniel Vetter
    Cc: Jani Nikula
    Cc: Joonas Lahtinen
    Cc: Rodrigo Vivi
    Cc: intel-gfx@lists.freedesktop.org
    Signed-off-by: Noralf Trønnes
    Reviewed-by: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/20190407165243.54043-4-noralf@tronnes.org

    Noralf Trønnes
     
  • This is done to stay consistent with our naming scheme of
    _register() = others can start calling us from any thread.

    Suggested-by: Daniel Vetter
    Signed-off-by: Noralf Trønnes
    Reviewed-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/20190403125658.32389-1-noralf@tronnes.org

    Noralf Trønnes
     
  • Finally have a reason for a backmerge other than "it's been a while"!

    Backmerging drm-next to -misc-next to facilitate Rob Herring's work on
    Panfrost.

    Signed-off-by: Sean Paul

    Sean Paul
     
  • Not all archs have the __io_virt() macro, so cirrus can't simply convert
    pointers that way. The drm format helpers have to use memcpy_toio()
    instead.

    This patch makes drm_fb_xrgb8888_to_rgb888_dstclip() accept a __iomem
    dst pointer and use memcpy_toio() instead of memcpy(). The helper
    function (drm_fb_xrgb8888_to_rgb888_line) has been changed to process a
    single scanline.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190410063815.17062-4-kraxel@redhat.com

    Gerd Hoffmann
     
  • Not all archs have the __io_virt() macro, so cirrus can't simply convert
    pointers that way. The drm format helpers have to use memcpy_toio()
    instead.

    This patch makes drm_fb_xrgb8888_to_rgb565_dstclip() accept a __iomem
    dst pointer and use memcpy_toio() instead of memcpy(). The helper
    function (drm_fb_xrgb8888_to_rgb565_line) has been changed to process
    a single scanline.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190410063815.17062-3-kraxel@redhat.com

    Gerd Hoffmann
     
  • Not all archs have the __io_virt() macro, so cirrus can't simply convert
    pointers that way. The drm format helpers have to use memcpy_toio()
    instead.

    This patch makes drm_fb_memcpy_dstclip() accept a __iomem dst pointer
    and use memcpy_toio() instead of memcpy(). With that separating out the
    memcpy loop into the drm_fb_memcpy_lines() helper isn't useful any more,
    so move the code back into the calling functins.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190410063815.17062-2-kraxel@redhat.com

    Gerd Hoffmann
     

08 Apr, 2019

4 commits

  • Simliar to drm_fb_xrgb8888_to_rgb565_dstclip() but converts to rgb888
    instead of rgb565.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190405095219.9231-5-kraxel@redhat.com

    Gerd Hoffmann
     
  • It is a drm_fb_xrgb8888_to_rgb565() variant which checks the clip
    rectangle for the destination too.

    Common code between drm_fb_xrgb8888_to_rgb565() and
    drm_fb_xrgb8888_to_rgb565_dstclip() was factored out into the
    drm_fb_xrgb8888_to_rgb565_lines() helper function.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190405095219.9231-4-kraxel@redhat.com

    Gerd Hoffmann
     
  • It is a drm_fb_memcpy() variant which checks the clip rectangle for the
    destination too.

    Common code between drm_fb_memcpy() and drm_fb_memcpy_dstclip() was
    factored out into the drm_fb_memcpy_lines() helper function.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190405095219.9231-3-kraxel@redhat.com

    Gerd Hoffmann
     
  • Also rename them from tinydrm_* to drm_fb_*
    Pure code motion, no functional change.

    Signed-off-by: Gerd Hoffmann
    Reviewed-by: Sam Ravnborg
    Reviewed-by: Noralf Trønnes
    Link: http://patchwork.freedesktop.org/patch/msgid/20190405095219.9231-2-kraxel@redhat.com

    Gerd Hoffmann
     

05 Apr, 2019

1 commit

  • drm-misc-next for 5.2:

    UAPI Changes:
    -syncobj: Add TIMELINE_WAIT|QUERY|TRANSFER|TIMELINE_SIGNAL ioctls (Chunming)
    -Clarify that 1.0 can be represented by drm_color_lut (Daniel)

    Cross-subsystem Changes:
    -dt-bindings: Add binding for rk3066 hdmi (Johan)
    -dt-bindings: Add binding for Feiyang FY07024DI26A30-D panel (Jagan)
    -dt-bindings: Add Rocktech vendor prefix and jh057n00900 panel bindings (Guido)
    -MAINTAINERS: Add lima and ASPEED entries (Joel & Qiang)

    Core Changes:
    -memory: use dma_alloc_coherent when mem encryption is active (Christian)
    -dma_buf: add support for a dma_fence chain (Christian)
    -shmem_gem: fix off-by-one bug in new shmem gem helpers (Dan)

    Driver Changes:
    -rockchip: Add support for rk3066 hdmi (Johan)
    -ASPEED: Add driver supporting ASPEED BMC display controller to drm (Joel)
    -lima: Add driver supporting Arm Mali4xx gpus to drm (Qiang)
    -vc4/v3d: Various cleanups and improved error handling (Eric)
    -panel: Add support for Feiyang FY07024DI26A30-D MIPI-DSI panel (Jagan)
    -panel: Add support for Rocktech jh057n00900 MIPI-DSI panel (Guido)

    Cc: Johan Jonker
    Cc: Christian König
    Cc: Chunming Zhou
    Cc: Dan Carpenter
    Cc: Eric Anholt
    Cc: Qiang Yu
    Cc: Daniel Vetter
    Cc: Jagan Teki
    Cc: Guido Günther
    Cc: Joel Stanley
    [airlied: fixed XA limit build breakage, Rodrigo also submitted the same patch, but
    I squashed it in the merge.]
    Signed-off-by: Dave Airlie

    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20190404201016.GA139524@art_vandelay

    Dave Airlie
     

03 Apr, 2019

1 commit

  • amdgpu:
    - Switch to HMM for userptr (reverted until HMM fixes land)
    - New experimental SMU 11 replacement for powerplay for vega20 (not enabled by default)
    - Initial RAS support for vega20
    - BACO support for vega12
    - BACO fixes for vega20
    - Rework IH handling for page fault and retry interrupts
    - Cleanly split CPU and GPU paths for GPUVM updates
    - Powerplay fixes
    - XGMI fixes
    - Rework how DC interacts with atomic for planes
    - Clean up and simplify DC/Powerplay interfaces
    - Misc cleanups and bug fixes

    amdkfd:
    - Switch to HMM for userptr (reverted until HMM fixes land)
    - Add initial RAS support
    - MQD fixes

    ttm:
    - Unify DRM_FILE_PAGE_OFFSET handling
    - Account for kernel allocations in kernel zone only
    - Misc cleanups

    Signed-off-by: Dave Airlie

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

    Dave Airlie
     

02 Apr, 2019

3 commits

  • The debugfs_regset32 is nice to use for reducing boilerplate in
    dumping a bunch of regs in debugfs, but we also want to be able to
    print to dmesg them at runtime for driver debugging. drm_printer lets
    us format debugfs and the printk the same way.

    v2: Add some kerneldoc for the function (requested by danvet)

    Signed-off-by: Eric Anholt
    Link: https://patchwork.freedesktop.org/patch/msgid/20190220210343.28157-1-eric@anholt.net
    Reviewed-by: Paul Kocialkowski (v1)
    Reviewed-by: Daniel Vetter

    Eric Anholt
     
  • This will enable the following patch to consolidate most device ids into
    i915_pciids.h.

    While cross-referencing the ids listed in i915_drv.h, with the ones listed
    in i915_pciids.h, and also the comments in the latter, a bug for bug
    approach was used. This means two things:

    1.
    Some ids are only present in i915_drv.h - obviously this means those parts
    would not have been probed at all so they were not added to i915_pciids.h

    2.
    Some part type comments in i915_pciids.h were in disagreement with
    i915_drv.h. For instance parts labeled as ULT or ULX were not considered
    as such in i915_drv.h. The existing behaviour takes precedence here.

    Signed-off-by: Tvrtko Ursulin
    Suggested-by: Jani Nikula
    Cc: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/20190326074057.27833-4-tvrtko.ursulin@linux.intel.com
    Reviewed-by: Chris Wilson

    Tvrtko Ursulin
     
  • This allows the IS_PINEVIEW_ macros to be removed and avoid
    duplication of device ids already defined in i915_pciids.h.

    !IS_MOBILE check can be used in place of existing IS_PINEVIEW_G call
    sites.

    Signed-off-by: Tvrtko Ursulin
    Suggested-by: Ville Syrjälä
    Cc: Ville Syrjälä
    Cc: Chris Wilson
    Reviewed-by: Chris Wilson
    Link: https://patchwork.freedesktop.org/patch/msgid/20190326074057.27833-2-tvrtko.ursulin@linux.intel.com

    Tvrtko Ursulin
     

01 Apr, 2019

1 commit

  • Use the dma_fence_chain object to create a timeline of fence objects
    instead of just replacing the existing fence.

    v2: rebase and cleanup
    v3: fix garbage collection parameters
    v4: add unorder point check, print a warn calltrace

    Signed-off-by: Christian König
    Reviewed-by: Lionel Landwerlin
    Link: https://patchwork.freedesktop.org/patch/295780/?series=58813&rev=1

    Christian König
     

29 Mar, 2019

3 commits

  • Allow atomic_enable and atomic_disable operations from
    drm_crtc_helper_funcs struct optional. With this, the target display
    drivers don't need to define a dummy function if they don't need one.

    Changes since v2:
    * Don't make funcs optional
    * Update kerneldoc for atomic_enable/disable
    * Replace "if (funcs->atomic_enable)" by "if (funcs->commit)"
    * Improve commit message

    Signed-off-by: Rodrigo Siqueira
    Reviewed-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20190314184845.gjmvkamobj4dilyp@smtp.gmail.com
    Signed-off-by: Gerd Hoffmann

    Rodrigo Siqueira
     
  • drm-misc-next for 5.2:

    UAPI Changes:
    - Remove unused DRM_DISPLAY_INFO_LEN (Ville)

    Cross-subsystem Changes:
    - None

    Core Changes:
    - Fix compilation when CONFIG_FBDEV not selected (Daniel)
    - fbdev: Make skip_vt_switch default (Daniel)
    - Merge fb_helper_fill_fix, fb_helper_fill_var into fb_helper_fill_info (Daniel)
    - Remove unused fields in connector, display_info, and edid_quirks (Ville)

    Driver Changes:
    - virtio: package function args in virtio_gpu_object_params (Gerd)
    - vkms: Fix potential NULL-dereference bug (Kangjie)

    Signed-off-by: Dave Airlie

    From: Sean Paul
    Link: https://patchwork.freedesktop.org/patch/msgid/20190328183045.GA44823@art_vandelay

    Dave Airlie
     
  • R-Car DU miscellaneous changes for v5.2

    Signed-off-by: Dave Airlie

    From: Laurent Pinchart
    Link: https://patchwork.freedesktop.org/patch/msgid/20190328042035.GA4846@pendragon.ideasonboard.com

    Dave Airlie
     

28 Mar, 2019

4 commits