1. 08 Apr, 2019 2 commits
    • YueHaibing's avatar
      drm/vmwgfx: Remove set but not used variable 'restart' · b2130cca
      YueHaibing authored
      Fixes gcc '-Wunused-but-set-variable' warning:
      
      drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c: In function 'vmw_cmdbuf_work_func':
      drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:514:7: warning:
       variable 'restart' set but not used [-Wunused-but-set-variable]
      
      It not used any more after commit dc366364 ("drm/vmwgfx: Fix multiple
      command buffer context use")
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      Signed-off-by: default avatarDeepak Rawat <drawat@vmware.com>
      Fixes: dc366364 ("drm/vmwgfx: Fix multiple command buffer context use")
      b2130cca
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Be more restrictive when dirtying resources · a9f58c45
      Thomas Hellstrom authored
      Currently we flag resources as dirty (GPU contents not yet read back to
      the backing MOB) whenever they have been part of a command stream.
      Obviously many resources can't be dirty and others can only be dirty when
      written to by the GPU. That is when they are either bound to the context as
      render-targets, depth-stencil, copy / clear destinations and
      stream-output targets, or similarly when there are corresponding views into
      them.
      So mark resources dirty only in these special cases. Context- and cotable
      resources are always marked dirty when referenced.
      This is important for upcoming emulated coherent memory, since we can avoid
      issuing automatic readbacks to non-dirty resources when the CPU tries to
      access part of the backing MOB.
      
      Testing: Unigine Heaven with max GPU memory set to 256MB resulting in
      heavy resource thrashing.
      ---
      v2: Addressed review comments by Deepak Rawat.
      v3: Added some documentation
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      a9f58c45
  2. 05 Apr, 2019 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2019-04-04' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 14d2bd53
      Dave Airlie authored
      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 <jbx6244@gmail.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Chunming Zhou <david1.zhou@amd.com>
      Cc: Dan Carpenter <dan.carpenter@oracle.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Qiang Yu <yuq825@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Jagan Teki <jagan@amarulasolutions.com>
      Cc: Guido Günther <agx@sigxcpu.org>
      Cc: Joel Stanley <joel@jms.id.au>
      [airlied: fixed XA limit build breakage, Rodrigo also submitted the same patch, but
      I squashed it in the merge.]
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Sean Paul <sean@poorly.run>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190404201016.GA139524@art_vandelay
      14d2bd53
  3. 04 Apr, 2019 3 commits
  4. 03 Apr, 2019 19 commits
  5. 02 Apr, 2019 6 commits
  6. 01 Apr, 2019 9 commits