Permalink
Switch branches/tags
Commits on Apr 5, 2018
  1. drm/lima: fix submit wait error in arm64

    yuq authored and anarsoul committed Apr 3, 2018
    This error is due to assigned long return value
    to int which may cause overflow in 64bit arch.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  2. drm/lima: use dev_err for irq error message print

    yuq authored and anarsoul committed Mar 28, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  3. drm/lima: add va range info for query interface

    yuq authored and anarsoul committed Mar 28, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  4. drm/lima: add init dlbu/bcast code

    yuq authored and anarsoul committed Mar 27, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  5. drm/lima: fix error job dma_fence_put un-init task fence

    yuq authored and anarsoul committed Mar 21, 2018
    When job error, task->fence is un-init, so job free should
    not call dma_fence_put on it.
    
    Now we just move fence alloc into job run, so task->fence
    is NULL when job error, and job free dma_fence_put has no
    effect on it.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  6. arm/dts: add vender string to exynos4 mali gpu

    yuq authored and anarsoul committed Mar 21, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  7. arm/dts: add vender string to sun7i a20 mali gpu

    yuq authored and anarsoul committed Mar 21, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  8. arm/dts: add vender string to sun8i h3 mali gpu

    yuq authored and anarsoul committed Mar 21, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  9. arm64/dts: add switch-delay for meson mali

    yuq authored and anarsoul committed Mar 21, 2018
    Meson mali GPU operate in high clock frequency, need
    this value be high to work in a stable state.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  10. drm/lima: add switch-delay config for PMU

    yuq authored and anarsoul committed Mar 21, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  11. dt-bindings: add switch-delay property for mali-utgard

    yuq authored and anarsoul committed Mar 21, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  12. arm/dts/sun8i-h3: set GPU clock frequency

    yuq authored and anarsoul committed Mar 20, 2018
    H3 GPU is able to work at <= 600MHz mclk, so instead of
    using the boot time 297MHz, set it to 576MHz in dts.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  13. arm64: dts: pinebook: enable HS200 support for eMMC

    anarsoul committed Mar 15, 2018
    Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
  14. drm/lima: fix arm64 arch compile warning

    yuq authored and anarsoul committed Mar 13, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  15. drm/lima: include pagemap.h for implicit declared mapping_set_gfp_mask

    mmind authored and anarsoul committed Mar 12, 2018
    Without that, at least on arm64 te build fails with
    ../drivers/gpu/drm/lima/lima_gem.c: In function ‘lima_gem_create_handle’:
    ../drivers/gpu/drm/lima/lima_gem.c:92:2: error: implicit declaration of function ‘mapping_set_gfp_mask’; did you mean ‘pci_set_dma_mask’? [-Werror=implicit-function-declaration]
      mapping_set_gfp_mask(bo->gem.filp->f_mapping, mask);
      ^~~~~~~~~~~~~~~~~~~~
    
    Signed-off-by: Heiko Stuebner <heiko@sntech.de>
  16. drm/lima: change to use dma_alloc/free_wc

    yuq authored and anarsoul committed Mar 11, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  17. drm/lima: remove contiguous buffer alloc

    yuq authored and anarsoul committed Mar 11, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  18. drm/lima: support non-contiguous buffer

    yuq authored and anarsoul committed Mar 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  19. drm/lima: add 'done' to submit ioctrl output

    yuq authored and anarsoul committed Feb 19, 2018
    This field indicates how many tasks before current
    submitted task is done which is used for mesa to
    free finished task resources.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  20. drm/lima: add lima ctx object and syscall

    yuq authored and anarsoul committed Feb 11, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  21. drm/lima: put frame into task slab alloc

    yuq authored and anarsoul committed Feb 9, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  22. drm/lima: guilty should be shared by all context of a fd

    yuq authored and anarsoul committed Feb 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  23. drm/lima: use slab allocator for task and fence

    yuq authored and anarsoul committed Feb 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  24. drm/lima: deffer error handling into work queue

    yuq authored and anarsoul committed Feb 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  25. drm/lima: refine error handling

    yuq authored and anarsoul committed Feb 8, 2018
    PP do error handling when all processors done.
    Add missing MMU resume.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  26. drm/lima: use module param for some configurable args

    yuq authored and anarsoul committed Feb 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  27. drm/lima: adjust sched pipe task function pointers

    yuq authored and anarsoul committed Feb 8, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  28. drm/lima: use drm_sched for GPU scheduling

    yuq authored and anarsoul committed Feb 7, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  29. drm/lima: change submit ABI for better compatibility

    yuq authored and anarsoul committed Feb 2, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  30. drm/lima: remove interval tree kconfig select

    yuq authored and anarsoul committed Jan 28, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  31. drm/lima: fix "still active bo inside vm"

    yuq authored and anarsoul committed Jan 28, 2018
    This happens for exported bo when on screen rendering.
    When the lima drm device fd is closing, the
    lima_gem_free_object is not really called for the
    exported bo because the display drm hold a reference
    for it, but the lima vm is freed so need to remove
    the va for this vm registered for this bo.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  32. drm/lima: add gem_prime_res_obj callback

    yuq authored and anarsoul committed Jan 18, 2018
    Otherwise exported dma_buf won't share resv obj with
    device driver which import it.
    
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  33. drm/lima: update Kconfig comments for Mali 450 support

    yuq authored and anarsoul committed Jan 15, 2018
    Signed-off-by: Qiang Yu <yuq825@gmail.com>
  34. drm: lima: also allow on ARCH_MESON

    superna9999 authored and anarsoul committed Jan 18, 2018
  35. drm: lima: add support for external regulator

    fourkbomb authored and anarsoul committed Jan 13, 2018
    if this regulator is not enabled on platforms that require it,
    the whole system will hang when accessing the GPU registers
    
    Signed-off-by: Simon Shields <simon@lineageos.org>