20 Jun, 2017

1 commit

  • drm/tegra: Changes for v4.13-rc1

    This starts off with the addition of more documentation for the host1x
    and DRM drivers and finishes with a slew of fixes and enhancements for
    the staging IOCTLs as a result of the awesome work done by Dmitry and
    Erik on the grate reverse-engineering effort.

    * tag 'drm/tegra/for-4.13-rc1' of git://anongit.freedesktop.org/tegra/linux:
    gpu: host1x: At first try a non-blocking allocation for the gather copy
    gpu: host1x: Refactor channel allocation code
    gpu: host1x: Remove unused host1x_cdma_stop() definition
    gpu: host1x: Remove unused 'struct host1x_cmdbuf'
    gpu: host1x: Check waits in the firewall
    gpu: host1x: Correct swapped arguments in the is_addr_reg() definition
    gpu: host1x: Forbid unrelated SETCLASS opcode in the firewall
    gpu: host1x: Forbid RESTART opcode in the firewall
    gpu: host1x: Forbid relocation address shifting in the firewall
    gpu: host1x: Do not leak BO's phys address to userspace
    gpu: host1x: Correct host1x_job_pin() error handling
    gpu: host1x: Initialize firewall class to the job's one
    drm/tegra: dc: Disable plane if it is invisible
    drm/tegra: dc: Apply clipping to the plane
    drm/tegra: dc: Avoid reset asserts on Tegra20
    drm/tegra: Check syncpoint ID in the 'submit' IOCTL
    drm/tegra: Correct copying of waitchecks and disable them in the 'submit' IOCTL
    drm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTL
    drm/tegra: Add driver documentation
    gpu: host1x: Flesh out kerneldoc

    Dave Airlie
     

15 Jun, 2017

1 commit


09 May, 2017

1 commit

  • This is a modesetting driver for the pl111 CLCD display controller
    found on various ARM platforms such as the Versatile Express. The
    driver has only been tested on the bcm911360_entphn platform so far,
    with PRIME-based buffer sharing between vc4 and clcd.

    It reuses the existing devicetree binding, while not using quite as
    many of its properties as the fbdev driver does (those are left for
    future work).

    v2: Nearly complete rewrite by anholt, cutting 2/3 of the code thanks
    to DRM core's excellent new helpers.
    v3: Don't match pl110 any more, don't attach if we don't have a DRM
    panel, use DRM_GEM_CMA_FOPS, update MAINTAINERS, use the simple
    display helper, use drm_gem_cma_dumb_create (same as our wrapper).
    v4: Change the driver's .name to not clash with fbdev in sysfs, drop
    platform alias, drop redundant "drm" in DRM driver name, hook up
    .prepare_fb to the CMA helper so that DMA fences should work.
    v5: Move register definitions inside the driver directory, fix build
    in COMPILE_TEST and !AMBA mode.
    v6: Drop TIM2_CLKSEL for now to be consistent with existing DT
    bindings, switch back to external register definitions.

    Signed-off-by: Tom Cooksey
    Signed-off-by: Eric Anholt
    Reviewed-by: Linus Walleij (v5)
    Acked-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20170413031746.12921-2-eric@anholt.net

    Tom Cooksey
     

04 Apr, 2017

2 commits


01 Mar, 2017

1 commit


27 Feb, 2017

1 commit


19 Feb, 2017

1 commit


08 Feb, 2017

1 commit

  • This commit adds a TODO list to the GPU driver developer's guide. The
    content was taken from the DRMJanitors page on the X.Org wiki:

    https://www.x.org/wiki/DRMJanitors/

    The goal is to track a list of refactorings that would be nice to see
    merged eventually. Sometimes these would be encountered during patch
    review on the mailing list, and at other times one can come across
    these while working in a specific area of code.

    Signed-off-by: Thierry Reding
    Acked-by: Sean Paul
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20170207175113.2793-1-thierry.reding@gmail.com

    Thierry Reding
     

27 Oct, 2016

1 commit


12 Oct, 2016

1 commit

  • Pull drm updates from Dave Airlie:
    "Core:
    - Fence destaging work
    - DRIVER_LEGACY to split off legacy drm drivers
    - drm_mm refactoring
    - Splitting drm_crtc.c into chunks and documenting better
    - Display info fixes
    - rbtree support for prime buffer lookup
    - Simple VGA DAC driver

    Panel:
    - Add Nexus 7 panel
    - More simple panels

    i915:
    - Refactoring GEM naming
    - Refactored vma/active tracking
    - Lockless request lookups
    - Better stolen memory support
    - FBC fixes
    - SKL watermark fixes
    - VGPU improvements
    - dma-buf fencing support
    - Better DP dongle support

    amdgpu:
    - Powerplay for Iceland asics
    - Improved GPU reset support
    - UVD/VEC powergating support for CZ/ST
    - Preinitialised VRAM buffer support
    - Virtual display support
    - Initial SI support
    - GTT rework
    - PCI shutdown callback support
    - HPD IRQ storm fixes

    amdkfd:
    - bugfixes

    tilcdc:
    - Atomic modesetting support

    mediatek:
    - AAL + GAMMA engine support
    - Hook up gamma LUT
    - Temporal dithering support

    imx:
    - Pixel clock from devicetree
    - drm bridge support for LVDS bridges
    - active plane reconfiguration
    - VDIC deinterlacer support
    - Frame synchronisation unit support
    - Color space conversion support

    analogix:
    - PSR support
    - Better panel on/off support

    rockchip:
    - rk3399 vop/crtc support
    - PSR support

    vc4:
    - Interlaced vblank timing
    - 3D rendering CPU overhead reduction
    - HDMI output fixes

    tda998x:
    - HDMI audio ASoC support

    sunxi:
    - Allwinner A33 support
    - better TCON support

    msm:
    - DT binding cleanups
    - Explicit fence-fd support

    sti:
    - remove sti415/416 support

    etnaviv:
    - MMUv2 refactoring
    - GC3000 support

    exynos:
    - Refactoring HDMI DCC/PHY
    - G2D pm regression fix
    - Page fault issues with wait for vblank

    There is no nouveau work in this tree, as Ben didn't get a pull
    request in, and he was fighting moving to atomic and adding mst
    support, so maybe best it waits for a cycle"

    * tag 'drm-for-v4.9' of git://people.freedesktop.org/~airlied/linux: (1412 commits)
    drm/crtc: constify drm_crtc_index parameter
    drm/i915: Fix conflict resolution from backmerge of v4.8-rc8 to drm-next
    drm/i915/guc: Unwind GuC workqueue reservation if request construction fails
    drm/i915: Reset the breadcrumbs IRQ more carefully
    drm/i915: Force relocations via cpu if we run out of idle aperture
    drm/i915: Distinguish last emitted request from last submitted request
    drm/i915: Allow DP to work w/o EDID
    drm/i915: Move long hpd handling into the hotplug work
    drm/i915/execlists: Reinitialise context image after GPU hang
    drm/i915: Use correct index for backtracking HUNG semaphores
    drm/i915: Unalias obj->phys_handle and obj->userptr
    drm/i915: Just clear the mmiodebug before a register access
    drm/i915/gen9: only add the planes actually affected by ddb changes
    drm/i915: Allow PCH DPLL sharing regardless of DPLL_SDVO_HIGH_SPEED
    drm/i915/bxt: Fix HDMI DPLL configuration
    drm/i915/gen9: fix the watermark res_blocks value
    drm/i915/gen9: fix plane_blocks_per_line on watermarks calculations
    drm/i915/gen9: minimum scanlines for Y tile is not always 4
    drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
    drm/i915/kbl: KBL also needs to run the SAGV code
    ...

    Linus Torvalds
     

19 Aug, 2016

1 commit


17 Aug, 2016

1 commit

  • Move the documentation into Documentation/gpu, link it up and pull in
    the kernel doc.

    No actual text changes except that I did polish the kerneldoc a bit,
    especially for vga_client_register().

    v2: Remove some rst from vga-switcheroo.rst that I don't understand,
    but which seems to be the reason why the new vgaarbiter.rst sometimes
    drops out of the sidebar index.

    v3: Drop one level of headings and clarify the vgaarb one a bit.

    v4: Fix some typos (Sean).

    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Sean Paul
    Reviewed-by: Sean Paul
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1471034937-651-20-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     

21 Jun, 2016

3 commits

  • Make the documents more manageable.

    Signed-off-by: Jani Nikula
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/be992e56eb8442d6e03b52444df5a42525085718.1466506505.git.jani.nikula@intel.com

    Jani Nikula
     
  • Make the gpu documentation easier to manage by splitting to separate
    files. Again, this is just the split, no real edits.

    Signed-off-by: Jani Nikula
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/bd2b599b5105c28c8f05923005e6cc9b7efa7fc1.1466506505.git.jani.nikula@intel.com

    Jani Nikula
     
  • This is the first step towards converting the DocBook gpu.tmpl to Sphinx
    and reStructuredText, the new kernel documentation tool and markup.

    Use Jon's "cheesy conversion script" in Documentation/sphinx/tmplcvt to
    do the rough conversion. Do the manual edits in follow-up patches. Add a
    new Documentation/gpu directories for the graphics related
    documentation. (Hooray, now we can have directories based on topics
    rather than tools under Documentation.)

    We also won't remove the DocBook gpu.tmpl yet so it's easier to build
    both and compare the results for parity.

    Signed-off-by: Jani Nikula
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/bc7b4f9ac037632e0c8469c079d21fad5eaa39a0.1466506505.git.jani.nikula@intel.com

    Jani Nikula