[git pull] vmwgfx-fixes-5.9

2020-09-29 Thread Roland Scheidegger (VMware)
Dave, Daniel

One important fix for recent breakage.

The following changes since commit a1b8638ba1320e6684aa98233c15255eb803fac7:

  Linux 5.9-rc7 (2020-09-27 14:38:10 -0700)

are available in the Git repository at:

  git://people.freedesktop.org/~sroland/linux vmwgfx-fixes-5.9

for you to fetch changes up to f54c4442893b8dfbd3aff8e903c54dfff1aef990:

  drm/vmwgfx: Fix error handling in get_node (2020-09-30 05:44:28 +0200)


Zack Rusin (1):
  drm/vmwgfx: Fix error handling in get_node

 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_thp.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-5.8

2020-07-15 Thread Roland Scheidegger (VMware)
Dave, Daniel,

vmwgfx-fixes pull for 5.8.
Just one fix for now, but it's a really important one, causing black
screens in VMs (sometimes on boot), hence marking it for stable.

The following changes since commit 1f054fd26e29784d373c3d29c348ee48f1c41fb2:

  drm/vmwgfx: fix update of display surface when resolution changes (2020-07-14 
04:05:52 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~sroland/linux vmwgfx-fixes-5.8

for you to fetch changes up to 1f054fd26e29784d373c3d29c348ee48f1c41fb2:

  drm/vmwgfx: fix update of display surface when resolution changes (2020-07-14 
04:05:52 +0200)


___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] vmwgfx-fixes-5.7

2020-05-19 Thread Dave Airlie
On Sat, 16 May 2020 at 15:05, Roland Scheidegger (VMware)
 wrote:
>
> Dave, Daniel
>
> Some minor fixes and a maintainer change.
>
> The following changes since commit 24085f70a6e1b0cb647ec92623284641d8270637:
>
>   Merge tag 'trace-v5.7-rc4' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2020-05-12 
> 11:06:26 -0700)
>
> are available in the Git repository at:
>
>   git+ssh://srol...@people.freedesktop.org/~sroland/linux vmwgfx-fixes-5.7

Hi Roland,

Please fix the URL you generate here, it should just start with
git://people.freedesktop.org

I've fixed it locally for this round, but please ensure it's a valid
URL I can pull from next time.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-5.7

2020-05-15 Thread Roland Scheidegger (VMware)
Dave, Daniel

Some minor fixes and a maintainer change.

The following changes since commit 24085f70a6e1b0cb647ec92623284641d8270637:

  Merge tag 'trace-v5.7-rc4' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2020-05-12 
11:06:26 -0700)

are available in the Git repository at:

  git+ssh://srol...@people.freedesktop.org/~sroland/linux vmwgfx-fixes-5.7

for you to fetch changes up to 80542002ccd41f3703a9ae9e8e95cfbaad370db6:

  drm/vmwgfx: Return true in function vmw_fence_obj_signaled() (2020-05-16 
06:50:37 +0200)


Colin Ian King (1):
  drm/vmwgfx: remove redundant assignment to variable ret

Guixiong Wei (1):
  drm/vmwgfx: Fix parameter name in vmw_bo_init

Jason Yan (1):
  drm/vmwgfx: Return true in function vmw_fence_obj_signaled()

Roland Scheidegger (1):
  drm/vmwgfx: update MAINTAINERS entry

 MAINTAINERS | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c   | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-5.3

2019-09-05 Thread VMware
From: Thomas Hellström 

Dave, Daniel

A single fix from Dan for a previous fix that generated a regression.

The following changes since commit 6b7c3b86f0b63134b2ab56508921a0853ffa687a:

  drm/vmwgfx: fix memory leak when too many retries have occurred (2019-08-08 
11:22:54 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.3

for you to fetch changes up to 08b0c891605acf727e43e3e03a25857d3e789b61:

  drm/vmwgfx: Fix double free in vmw_recv_msg() (2019-09-05 14:44:28 +0200)


Dan Carpenter (1):
  drm/vmwgfx: Fix double free in vmw_recv_msg()

 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.3

2019-08-08 Thread VMware
Dave, Daniel

A single memory leak fix from Colin Ian King.

The following changes since commit f536579c148249505b388d525ac1866e080fd66a:

  Merge tag 'drm-fixes-5.3-2019-08-07' of 
git://people.freedesktop.org/~agd5f/linux into drm-fixes (2019-08-08 13:25:50 
+1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux/ vmwgfx-fixes-5.3

for you to fetch changes up to 6b7c3b86f0b63134b2ab56508921a0853ffa687a:

  drm/vmwgfx: fix memory leak when too many retries have occurred (2019-08-08 
11:22:54 +0200)


Colin Ian King (1):
  drm/vmwgfx: fix memory leak when too many retries have occurred

 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.2

2019-06-18 Thread VMware
Dave, Daniel,

A couple of fixes for vmwgfx. Two fixes for a DMA sg-list debug warning
message. These are not cc'd stable since there is no evidence of actual
breakage.
On fix for the high-bandwidth backdoor port which is cc'd stable due to
upcoming hardware, on which the code would otherwise break.

The following changes since commit 5ed7f4b5eca11c3c69e7c8b53e4321812bc1ee1e:

  drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an 
invalid read (2019-05-21 10:23:10 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.2

for you to fetch changes up to 39916897cd815a0ee07ba1f6820cf88a63e459fc:

  drm/vmwgfx: fix a warning due to missing dma_parms (2019-06-11 17:00:53 +0200)


Qian Cai (1):
  drm/vmwgfx: fix a warning due to missing dma_parms

Thomas Hellstrom (2):
  drm/vmwgfx: Use the backdoor port if the HB port is not available
  drm/vmwgfx: Honor the sg list segment size limitation

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c|   3 +
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c| 146 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c |  10 +-
 3 files changed, 125 insertions(+), 34 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.2

2019-05-22 Thread Thomas Hellstrom (VMware)
Dave, Daniel

A set of misc fixes for various issues that have surfaced recently.
All Cc'd stable except the dma iterator fix which shouldn't really cause
any real issues on older kernels.

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

  Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.2

for you to fetch changes up to 5ed7f4b5eca11c3c69e7c8b53e4321812bc1ee1e:

  drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an 
invalid read (2019-05-21 10:23:10 +0200)


Murray McAllister (2):
  drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
  drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an 
invalid read

Thomas Hellstrom (4):
  drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
  drm/vmwgfx: Fix user space handle equal to zero
  drm/vmwgfx: Fix compat mode shader operation
  drm/vmwgfx: Use the dma scatter-gather iterator to get dma addresses

 drivers/gpu/drm/vmwgfx/ttm_object.c|  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c|  8 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c| 20 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 27 +++
 5 files changed, 35 insertions(+), 24 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.1

2019-04-25 Thread Thomas Hellstrom
Dave, Daniel

A single fix for a layer violation requested by Cristoph.

The following changes since commit c2d311553855395764e2e5bf401d987ba65c2056:

  drm/vmwgfx: Don't double-free the mode stored in par->set_mode (2019-03-20 
07:57:01 +0100)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.1

for you to fetch changes up to 81103355b1e23345dbcdeccad59962a424da4a34:

  drm/vmwgfx: Fix dma API layer violation (2019-04-25 09:05:03 +0200)


Thomas Hellstrom (1):
  drm/vmwgfx: Fix dma API layer violation

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 33 +
 1 file changed, 5 insertions(+), 28 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.1

2019-04-25 Thread Thomas Hellstrom
Dave, Daniel

A single fix for a layer violation requested by Cristoph.

The following changes since commit c2d311553855395764e2e5bf401d987ba65c2056:

  drm/vmwgfx: Don't double-free the mode stored in par->set_mode (2019-03-20 
07:57:01 +0100)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.1

for you to fetch changes up to 81103355b1e23345dbcdeccad59962a424da4a34:

  drm/vmwgfx: Fix dma API layer violation (2019-04-25 09:05:03 +0200)


Thomas Hellstrom (1):
  drm/vmwgfx: Fix dma API layer violation

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 33 +
 1 file changed, 5 insertions(+), 28 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.1

2019-03-21 Thread Thomas Hellstrom
Dave and Daniel,

Two fixes CC'd stable. One fix for a long-standing a bit hard-to-trigger fbdev
modesetting bug and one out-of-bo-id fix.

The following changes since commit 1c163f4c7b3f621efff9b28a47abb36f7378d783:

  Linux 5.0 (2019-03-03 15:21:29 -0800)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.1

for you to fetch changes up to c2d311553855395764e2e5bf401d987ba65c2056:

  drm/vmwgfx: Don't double-free the mode stored in par->set_mode (2019-03-20 
07:57:01 +0100)


Deepak Rawat (1):
  drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's

Thomas Zimmermann (1):
  drm/vmwgfx: Don't double-free the mode stored in par->set_mode

 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c| 12 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  2 +-
 2 files changed, 4 insertions(+), 10 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] vmwgfx-fixes-5.0-2

2019-02-06 Thread Thomas Hellstrom
Dave, Daniel

A patch set from Christoph for vmwgfx dma mode detection breakage with the
new dma code restructuring in 5.0

A couple of fixes also CC'd stable

Finally an improved IOMMU detection that automatically enables dma mapping
also with other vIOMMUS than the intel one if present and enabled.
Currently trying to start a VM in that case would fail catastrophically.

The following changes since commit f0e7ce1eef5854584dfb59b3824a67edee37580f:

  Merge tag 'drm-msm-fixes-2019-01-24' of 
git://people.freedesktop.org/~robclark/linux into drm-fixes (2019-01-25 
07:45:00 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-5.0-2

for you to fetch changes up to 9ddac734aa310c5fbc0ec93602335d2a39092451:

  drm/vmwgfx: Improve on IOMMU detection (2019-02-05 13:55:16 +0100)


Christoph Hellwig (4):
  drm/vmwgfx: remove CONFIG_X86 ifdefs
  drm/vmwgfx: remove CONFIG_INTEL_IOMMU ifdefs v2
  drm/vmwgfx: fix the check when to use dma_alloc_coherent
  drm/vmwgfx: unwind spaghetti code in vmw_dma_select_mode

Deepak Rawat (1):
  drm/vmwgfx: Also check for crtc status while checking for DU active

Thomas Hellstrom (4):
  drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user
  drm/vmwgfx: Fix an uninitialized fence handle value
  drm/vmwgfx: Fix setting of dma masks
  drm/vmwgfx: Improve on IOMMU detection

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 81 +
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |  6 +--
 3 files changed, 36 insertions(+), 53 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] vmwgfx-fixes-5.0-190130

2019-01-30 Thread Thomas Hellstrom

Hi,

On 1/30/19 11:55 AM, Thomas Hellstrom wrote:

Dave, Daniel

A fix for a DMA API change from Christoph Hellwig for vmwgfx, and
Two stable fixes for regressions in the vmwgfx driver

The following changes since commit f0e7ce1eef5854584dfb59b3824a67edee37580f:

   Merge tag 'drm-msm-fixes-2019-01-24' of 
git://people.freedesktop.org/~robclark/linux into drm-fixes (2019-01-25 
07:45:00 +1000)

are available in the Git repository at:

   git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-5.0-190130

for you to fetch changes up to 46984feb928ade4af744eb4e4cc8b242ffaf14e3:

   drm/vmwgfx: Also check for crtc status while checking for DU active 
(2019-01-29 13:57:56 +0100)

Please ignore this pull request. I got notified about an uninitialized 
variable warning which looks false, but since they typically aren't 
false I'd like to investigate further. In any case I don't want to 
introduce that warning message in a stable patch.


Thanks,

Thomas


___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-5.0-190130

2019-01-30 Thread Thomas Hellstrom
Dave, Daniel

A fix for a DMA API change from Christoph Hellwig for vmwgfx, and
Two stable fixes for regressions in the vmwgfx driver

The following changes since commit f0e7ce1eef5854584dfb59b3824a67edee37580f:

  Merge tag 'drm-msm-fixes-2019-01-24' of 
git://people.freedesktop.org/~robclark/linux into drm-fixes (2019-01-25 
07:45:00 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-5.0-190130

for you to fetch changes up to 46984feb928ade4af744eb4e4cc8b242ffaf14e3:

  drm/vmwgfx: Also check for crtc status while checking for DU active 
(2019-01-29 13:57:56 +0100)


Pull request of 190130


Christoph Hellwig (4):
  drm/vmwgfx: remove CONFIG_X86 ifdefs
  drm/vmwgfx: remove CONFIG_INTEL_IOMMU ifdefs v2
  drm/vmwgfx: fix the check when to use dma_alloc_coherent
  drm/vmwgfx: unwind spaghetti code in vmw_dma_select_mode

Deepak Rawat (1):
  drm/vmwgfx: Also check for crtc status while checking for DU active

Thomas Hellstrom (1):
  drm/vmwgfx: Fix an uninitialized fence handle value

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 55 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |  6 ++--
 2 files changed, 13 insertions(+), 48 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.20

2018-12-13 Thread Thomas Hellstrom
Hi Dave,

One redundant return statement fix, and one DOS fix for a regression introduced
with 4.20.

The following changes since commit 73b6f96cbc0162787bcbdac5f538167084c8d605:

  Merge branch 'drm-fixes-4.20' of git://people.freedesktop.org/~agd5f/linux 
into drm-fixes (2018-11-11 04:23:02 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.20

for you to fetch changes up to fd567467753fac9f9f477550065018e7f4e3c8f3:

  drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3 
(2018-12-13 13:04:25 +0100)


Colin Ian King (1):
  drm/vmwgfx: remove redundant return ret statement

Thomas Hellstrom (1):
  drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c|  4 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  5 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c|  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c   | 36 +
 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 21 -
 drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 37 ++
 6 files changed, 103 insertions(+), 4 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.19

2018-09-20 Thread Thomas Hellstrom
Hi Dave,

A couple of modesetting fixes and a fix for a long-standing buffer-eviction
problem cc'd stable.

The following changes since commit 8ca4fff974ad5288d38298f15bf218f2eac2d5e7:

  Merge tag 'drm-intel-fixes-2018-09-19' of 
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2018-09-20 10:01:53 
+1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.19

for you to fetch changes up to e71cf591876536f7dd5a54ef68d631278ca6faa1:

  drm/vmwgfx: Fix buffer object eviction (2018-09-20 08:05:14 +0200)


Deepak Rawat (4):
  drm/vmwgfx: don't check for old_crtc_state enable status
  drm/vmwgfx: limit screen size to stdu_max during check_modeset
  drm/vmwgfx: limit mode size for all display unit to texture_max
  drm/vmwgfx: Don't impose STDU limits on framebuffer size

Thomas Hellstrom (1):
  drm/vmwgfx: Fix buffer object eviction

 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 42 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c| 25 
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 24 +++
 4 files changed, 45 insertions(+), 48 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.17

2018-05-24 Thread Thomas Hellstrom

Hi Dave,

Three fixes for vmwgfx. Two are cc'd stable and fix host logging and its
error paths on 32-bit VMs. One is a fix for a hibernate flaw
introduced with the 4.17 merge window.

The following changes since commit 91ba9f28a3de97761c2b5fd5df5d88421268e507:

  drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful (2018-05-16 
08:01:20 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.17

for you to fetch changes up to 6a93cea15ed38e2dba4a0552483d28b7a87a03bd:

  drm/vmwgfx: Schedule an fb dirty update after resume (2018-05-23 16:52:55 
+0200)


Thomas Hellstrom (3):
  drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros
  drm/vmwgfx: Fix host logging / guestinfo reading error paths
  drm/vmwgfx: Schedule an fb dirty update after resume

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |  5 
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |  1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c  | 22 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 48 -
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h | 25 ---
 5 files changed, 55 insertions(+), 46 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.17

2018-05-16 Thread Thomas Hellstrom
Hi, Dave,
A single fix for a recent regression.

The following changes since commit 13f149d47392782baafd96d54d4e65f3b5ca342f:

  drm/vmwgfx: Fix a buffer object leak (2018-04-26 09:59:30 +0200)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.17

for you to fetch changes up to 91ba9f28a3de97761c2b5fd5df5d88421268e507:

  drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful (2018-05-16 
08:01:20 +0200)


Deepak Rawat (1):
  drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful

 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 ++
 1 file changed, 2 insertions(+)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.17

2018-05-03 Thread Thomas Hellstrom
Hi, Dave,

Two fixes for now, one for a long standing problem uncovered by a commit
in the 4.17 merge window, one for a regression introduced by a previous
bugfix, Cc'd stable.

The following changes since commit bb1278e891662616ccf4584523318d5f7ddb3a7c:

  Merge tag 'drm-misc-fixes-2018-04-25' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2018-04-26 11:09:56 
+1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.17

for you to fetch changes up to 13f149d47392782baafd96d54d4e65f3b5ca342f:

  drm/vmwgfx: Fix a buffer object leak (2018-04-26 09:59:30 +0200)


Thomas Hellstrom (2):
  drm/vmwgfx: Clean up fbdev modeset locking
  drm/vmwgfx: Fix a buffer object leak

 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c  | 31 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 14 +++---
 2 files changed, 21 insertions(+), 24 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[GIT PULL] vmwgfx-fixes-4.16

2018-03-22 Thread Thomas Hellstrom
Hi, Dave,

Two vmwgfx fixes for 4.16. Both cc'd stable.

The following changes since commit 93dfdf9fde9f20f1c46738bf184adeebc7d7d66e:

  Merge branch 'drm-fixes-4.16' of git://people.freedesktop.org/~agd5f/linux 
into drm-fixes (2018-03-01 14:03:14 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.16

for you to fetch changes up to 73a88250b70954a8f27c2444e1c2411bba3c29d9:

  drm/vmwgfx: Fix a destoy-while-held mutex problem. (2018-03-21 10:52:01 +0100)


Thomas Hellstrom (2):
  drm/vmwgfx: Fix black screen and device errors when running without fbdev
  drm/vmwgfx: Fix a destoy-while-held mutex problem.

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c  | 13 
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h  |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  | 39 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h  | 13 
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c |  5 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c |  5 +++--
 6 files changed, 59 insertions(+), 17 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.15 for -rc9 / final

2018-01-17 Thread Thomas Hellstrom
Dave,
Last minute fixes for vmwgfx.
One fix for a drm helper warning introduced in 4.15
One important fix for a longer standing memory corruption issue on older
hardware versions.

The following changes since commit 0d9cac0ca0429830c40fe1a4e50e60f6221fd7b6:

  drm/vmwgfx: Potential off by one in vmw_view_add() (2018-01-10 15:21:39 +0100)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.15

for you to fetch changes up to 8a510a5c75261ba0ec39155326982aa786541e29:

  drm/vmwgfx: fix memory corruption with legacy/sou connectors (2018-01-17 
16:27:45 +0100)


Rob Clark (1):
  drm/vmwgfx: fix memory corruption with legacy/sou connectors

Woody Suwalski (1):
  drm/vmwgfx: Fix a boot time warning

 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c  | 4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [git pull] vmwgfx-fixes-4.15 for -rc9 / final

2018-01-17 Thread Thomas Hellstrom

Dave,

On 01/17/2018 09:40 AM, Thomas Hellstrom wrote:

Dave,

A last minute minimal fix to kill a warning introduced in a helper in 4.15.

The following changes since commit 0d9cac0ca0429830c40fe1a4e50e60f6221fd7b6:

   drm/vmwgfx: Potential off by one in vmw_view_add() (2018-01-10 15:21:39 
+0100)

are available in the git repository at:

   git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.15

for you to fetch changes up to 2b0bc6870f1a61b90b49012e917eea4cb251:

   drm/vmwgfx: Fix a boot time warning (2018-01-17 09:09:27 +0100)


Please ignore this pull request. I'll incorporate Rob Clark's vmwgfx 
memory corruption fix and resend ASAP.


Thanks,
Thomas

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.15 for -rc9 / final

2018-01-17 Thread Thomas Hellstrom
Dave,

A last minute minimal fix to kill a warning introduced in a helper in 4.15.

The following changes since commit 0d9cac0ca0429830c40fe1a4e50e60f6221fd7b6:

  drm/vmwgfx: Potential off by one in vmw_view_add() (2018-01-10 15:21:39 +0100)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.15

for you to fetch changes up to 2b0bc6870f1a61b90b49012e917eea4cb251:

  drm/vmwgfx: Fix a boot time warning (2018-01-17 09:09:27 +0100)


Woody Suwalski (1):
  drm/vmwgfx: Fix a boot time warning

 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.15

2018-01-10 Thread Thomas Hellstrom
Dave,
Two important fixes for vmwgfx.
The off-by-one fix could cause a malicious user to potentially crash the
kernel.
The framebuffer map cache fix can under some circumstances enable a user to
read from or write to freed pages.

The following changes since commit b0bb222440a5c8273f67dd37946707e6ba6ad832:

  Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes 
(2018-01-09 12:03:10 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.15

for you to fetch changes up to 0d9cac0ca0429830c40fe1a4e50e60f6221fd7b6:

  drm/vmwgfx: Potential off by one in vmw_view_add() (2018-01-10 15:21:39 +0100)


Dan Carpenter (1):
  drm/vmwgfx: Potential off by one in vmw_view_add()

Thomas Hellstrom (1):
  drm/vmwgfx: Don't cache framebuffer maps

 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c |  2 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |  6 -
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c| 41 ++---
 4 files changed, 15 insertions(+), 36 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Git PULL] vmwgfx-fixes

2017-11-03 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 25dd1aa3b4cf0c361147aa45ff4dd1d335259ac1:

  Merge branch 'linux-4.14' of git://github.com/skeggsb/linux into drm-fixes 
(2017-11-01 10:05:03 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to cef75036c40408ba3bc308bcb00a3d440da713fc:

  drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue (2017-11-01 10:56:53 
-0700)


Arvind Yadav (1):
  drm/vmwgfx: constify vmw_fence_ops

Sinclair Yeh (1):
  drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c   | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Git PULL] vmwgfx-fixes

2017-08-29 Thread Sinclair Yeh
Hi Dave,

The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98:

  Linux 4.13-rc7 (2017-08-27 17:20:40 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 021aba761f2a6c12158afb9993524c300c01fae2:

  drm/vmwgfx: Fix F26 Wayland screen update issue (2017-08-29 23:19:03 +0200)


Sinclair Yeh (1):
  drm/vmwgfx: Fix F26 Wayland screen update issue

 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 26 +-
 1 file changed, 25 insertions(+), 1 deletion(-)


___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes

2017-07-21 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 9ff1beb1d19ffe2b26bf9cd2d33e6073d4f4b5fe:

  Merge tag 'drm-intel-fixes-2017-06-27' of 
git://anongit.freedesktop.org/git/drm-intel into drm-fixes (2017-06-28 17:07:15 
+1000)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 8046306fb9dedf216fc37a7dadc0e35ce37e9567:

  drm/vmwgfx: constify pci_device_id. (2017-07-17 23:41:22 -0700)


Arvind Yadav (2):
  drm/vmwgfx: dma-buf: Constify ttm_place structures.
  drm/vmwgfx: constify pci_device_id.

Brian Paul (1):
  drm/vmwgfx: fix comment mistake for vmw_cmd_dx_set_index_buffer()

Christophe JAILLET (1):
  drm/vmwgfx: Fix handling of errors returned by 'vmw_cotable_alloc()'

Ravikant B Sharma (1):
  drm/vmwgfx: Fix NULL pointer comparison

Sinclair Yeh (3):
  drm/vmwgfx: Limit max desktop dimensions to 8Kx8K
  drm/vmwgfx: Fix cursor hotspot issue with Wayland on Fedora
  drm/vmwgfx: Fix gcc-7.1.1 warning

Souptick Joarder (1):
  drm/vmwgfx: Use dma_pool_zalloc

 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c| 24 
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c| 10 --
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c|  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c   |  8 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c   |  8 
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c   |  9 +
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c  |  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c|  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c  |  4 ++--
 15 files changed, 58 insertions(+), 51 deletions(-)

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.12

2017-06-27 Thread Thomas Hellstrom
Dave,

A single important fix for a context creation memory leak.

The following changes since commit 1929e6610bddf0cc44f0859fc72d4016cba0c1fa:

  drm/vmwgfx: Bump driver minor and date (2017-06-07 14:46:15 +0200)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.12

for you to fetch changes up to 82fcee526ba8ca2c5d378bdf51b21b7eb058fe3a:

  drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr (2017-06-26 
14:39:08 +0200)


Deepak Rawat (1):
  drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr

 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 1 +
 1 file changed, 1 insertion(+)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.12

2017-06-07 Thread Thomas Hellstrom
Dave,

A bunch of fixes for vmwgfx 4.12 regressions and older stuff. In the latter
case either trivial, cc'd stable or requiring backports for stable.

The following changes since commit e5b4ab1ffbe2553ee278cb1b6bcb671a31d86518:

  Merge tag 'drm-misc-fixes-2017-06-02' of 
git://anongit.freedesktop.org/git/drm-misc into drm-fixes (2017-06-06 16:52:15 
+1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.12

for you to fetch changes up to 1929e6610bddf0cc44f0859fc72d4016cba0c1fa:

  drm/vmwgfx: Bump driver minor and date (2017-06-07 14:46:15 +0200)


Colin Ian King (1):
  drm/vmwgfx: fix spelling mistake "exeeds" -> "exceeds"

Dan Carpenter (1):
  drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()

Sinclair Yeh (5):
  drm/vmwgfx: Don't create proxy surface for cursor
  drm/vmwgfx: Make sure backup_handle is always valid
  drm/vmwgfx: Make sure to update STDU when FB is updated
  drm/vmwgfx: Fix large topology crash
  drm/vmwgfx: Remove unused legacy cursor functions

Thomas Hellstrom (1):
  drm/vmwgfx: Bump driver minor and date

Vladis Dronov (1):
  drm/vmwgfx: limit the number of mip levels in 
vmw_gb_surface_define_ioctl()

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c|   2 +
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 115 +---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |  15 -
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c|  27 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c |  23 ---
 6 files changed, 42 insertions(+), 144 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes-4.11

2017-04-03 Thread Thomas Hellstrom
Hi Dave,

Resent pull request as requested.

The following changes since commit d64a04720b0e64c1cd0726a3a27b360822fbee22:

  Merge branch 'drm-fixes-4.11' of git://people.freedesktop.org/~agd5f/linux 
into drm-fixes (2017-03-24 11:05:06 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.11

for you to fetch changes up to e7e11f99564222d82f0ce84bd521e57d78a6b678:

  drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl() (2017-03-30 
11:46:26 +0200)


Li Qiang (1):
  drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()

Murray McAllister (2):
  drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
  drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()

Thomas Hellstrom (4):
  drm/vmwgfx: Type-check lookups of fence objects
  drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
  drm/ttm: Avoid calling drm_ht_remove from atomic context
  drm/vmwgfx: Remove getparam error message

 drivers/gpu/drm/ttm/ttm_object.c | 14 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c| 79 
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c|  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  | 31 ++---
 include/drm/ttm/ttm_object.h |  5 +-
 6 files changed, 80 insertions(+), 57 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [Git PULL] vmwgfx-fixes-4.11

2017-04-03 Thread Dave Airlie
On 31 March 2017 at 19:33, Thomas Hellstrom  wrote:
> Hi, Dave,
>
> A number of fixes for 4.11
>
> The following changes since commit d64a04720b0e64c1cd0726a3a27b360822fbee22:
>
>   Merge branch 'drm-fixes-4.11' of git://people.freedesktop.org/~agd5f/linux 
> into drm-fixes (2017-03-24 11:05:06 +1000)
>
> are available in the git repository at:
>
>   git://people.freedesktop.org/~thomash/linux

However you are generating these pulll requests is doing it wrong,

there should always be a branch name here.

can you resend it?
Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Git PULL] vmwgfx-fixes-4.11

2017-03-31 Thread Thomas Hellstrom
Hi, Dave,

A number of fixes for 4.11

The following changes since commit d64a04720b0e64c1cd0726a3a27b360822fbee22:

  Merge branch 'drm-fixes-4.11' of git://people.freedesktop.org/~agd5f/linux 
into drm-fixes (2017-03-24 11:05:06 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux 

for you to fetch changes up to e7e11f99564222d82f0ce84bd521e57d78a6b678:

  drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl() (2017-03-30 
11:46:26 +0200)


Li Qiang (1):
  drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()

Murray McAllister (2):
  drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
  drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()

Thomas Hellstrom (4):
  drm/vmwgfx: Type-check lookups of fence objects
  drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
  drm/ttm: Avoid calling drm_ht_remove from atomic context
  drm/vmwgfx: Remove getparam error message

 drivers/gpu/drm/ttm/ttm_object.c | 14 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c| 79 
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c|  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  | 31 ++---
 include/drm/ttm/ttm_object.h |  5 +-
 6 files changed, 80 insertions(+), 57 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes

2017-01-23 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 25a7087fef1bfe7e0b9f4db4d75e08e9d9b11153:

  Merge remote-tracking branch 'vmwgfx_drm_stage/drm-fixes' into 
fdo_drm-vmwgfx-fixes (2017-01-19 08:42:10 -0800)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 41007d4514845efbddaab60c7ead99fc44eb33bf:

  drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy (2017-01-19 13:47:17 
-0800)


Kees Cook (1):
  drm/vmwgfx: use designated initializers

Shyam Saini (1):
  drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy

Sinclair Yeh (1):
  drm/vmwgfx: Fix depth input into drm_mode_legacy_fb_format

Thomas Hellstrom (4):
  drm/vmwgfx: Clear uninitialized fields of a parameter
  drm/vmwgfx: Annotate ignored return values
  drm/vmwgfx: Clear an uninitialized struct member
  drm/vmwgfx: Fix a potential integer overflow

 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h |  2 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c|  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c  | 10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c|  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c|  7 +++
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  4 ++--
 8 files changed, 17 insertions(+), 17 deletions(-)

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes

2016-12-13 Thread Sinclair Yeh
Hi Dave,

The following changes since commit ab7cd8d83e5dba13027de66f1b008b08b30b71a4:

  Merge tag 'drm-intel-fixes-2016-12-01' of 
git://anongit.freedesktop.org/git/drm-intel into drm-fixes (2016-12-04 06:31:26 
+1000)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to c013d6ef71a85e01033bcc02da2e07bbdcd6baec:

  drm/vmwgfx: Use dma_pool_zalloc (2016-12-13 07:58:21 -0800)


Arnd Bergmann (1):
  drm/vmwgfx: avoid gcc-7 parentheses warning

Christophe JAILLET (1):
  drm/vmwgfx: Fix handling of errors returned by 'vmw_cotable_alloc()'

Ravikant B Sharma (1):
  drm/vmwgfx : Fix NULL pointer comparison

Souptick Joarder (1):
  drm/vmwgfx: Use dma_pool_zalloc

 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c| 10 --
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c|  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c  |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c  |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c|  6 +++---
 13 files changed, 35 insertions(+), 37 deletions(-)



[git pull] vmwgfx-fixes

2016-10-17 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 90fd68dcf9a763f7e575c8467415bd8a66d073f4:

  drm/udl: fix line iterator in damage handling (2016-09-28 13:29:18 +1000)

are available in the git repository at:

  ssh://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 862f6157d176c9db5a7ed423245108d9bb3d7038:

  drm/vmwgfx: Adjust checks for null pointers in 13 functions (2016-10-10 
13:23:16 -0700)


Baole Ni (1):
  drm/vmwgfx: Replace numeric parameter like 0444 with macro

Charmaine Lee (1):
  drm/vmwgfx: Enable SVGA_3D_CMD_DX_TRANSFER_FROM_BUFFER command

Chris Wilson (1):
  drm/vmwgfx: Remove call to reservation_object_test_signaled_rcu before 
wait

Markus Elfring (3):
  drm/vmwgfx: Use kmalloc_array() in vmw_surface_define_ioctl()
  drm/vmwgfx: Use memdup_user() rather than duplicating its implementation
  drm/vmwgfx: Adjust checks for null pointers in 13 functions

Thomas Hellstrom (4):
  drm/vmwgfx: Allow resource relocations on byte boundaries
  drm/vmwgfx: Remove a leftover debug printout
  drm/vmwgfx: Limit the user-space command buffer size
  drm/vmwgfx: Avoid validating views on view destruction

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c  |  10 +++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h  |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c  | 145 
+
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c |   6 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  |  56 
--
 5 files changed, 146 insertions(+), 73 deletions(-)



[git pull] vmwgfx-fixes

2016-07-08 Thread Dave Airlie
Hi Sinclair,

When sending fixes pulls please include some text about what is in
here, after about -rc3/4 you generally
need more justification and text for non-trivial changes. These seem
somewhat large changes, and it would
be nice to have a summary of them.

It also appears that the ttm patch has some commit dirt, after the
S-o-b/R-b lines.

Dave.


On 5 July 2016 at 01:13, Sinclair Yeh  wrote:
> Hi Dave,
>
> The following changes since commit 81e257e964268d050f8e9188becd44d50f241d72:
>
>   drm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx 
> (2016-06-24 11:10:36 +1000)
>
> are available in the git repository at:
>
>   git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes
>
> for you to fetch changes up to beca4cf55323147ca9c8a98de1871be6e4fe8f34:
>
>   drm/vmwgfx: Fix corner case screen target management (2016-07-01 10:47:51 
> -0700)
>
> 
> Sinclair Yeh (6):
>   drm/vmwgfx: Add a check to handle host message failure
>   drm/vmwgfx: Work around mode set failure in 2D VMs
>   drm/vmwgfx: Add an option to change assumed FB bpp
>   drm/ttm: Make ttm_bo_mem_compat available
>   drm/vmwgfx: Check pin count before attempting to move a buffer
>   drm/vmwgfx: Delay pinning fbdev framebuffer until after mode set
>
> Thomas Hellstrom (1):
>   drm/vmwgfx: Fix corner case screen target management
>
>  drivers/gpu/drm/ttm/ttm_bo.c   |  7 ---
>  drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c | 25 ++---
>  drivers/gpu/drm/vmwgfx/vmwgfx_drv.c| 12 
>  drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  1 +
>  drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 47 
> +--
>  drivers/gpu/drm/vmwgfx/vmwgfx_kms.c| 10 +++---
>  drivers/gpu/drm/vmwgfx/vmwgfx_msg.c|  3 +++
>  drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c   |  8 
>  include/drm/ttm/ttm_bo_api.h   | 14 ++
>  9 files changed, 88 insertions(+), 39 deletions(-)
>
> ___
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


[git pull] vmwgfx-fixes

2016-07-08 Thread Sinclair Yeh
Hi Dave,

This contains one small patch to make sure we release a mutex when
hitting a framebuffer pinning and mapping failure.

It is not very often that we'll run into this case, and given that
it's late in the current release, I'm okay with batching this up with
the next one if this cannot go in now.



The following changes since commit beca4cf55323147ca9c8a98de1871be6e4fe8f34:

  drm/vmwgfx: Fix corner case screen target management (2016-07-01 10:47:51 
-0700)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 58541f7a6458e17ab417321b284f0090f530aa91:

  drm/vmwgfx: Fix error paths when mapping framebuffer (2016-07-08 08:30:35 
-0700)


Sinclair Yeh (1):
  drm/vmwgfx: Fix error paths when mapping framebuffer

 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




[git pull] vmwgfx-fixes

2016-07-04 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 81e257e964268d050f8e9188becd44d50f241d72:

  drm/atomic: Make drm_atomic_legacy_backoff reset crtc->acquire_ctx 
(2016-06-24 11:10:36 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to beca4cf55323147ca9c8a98de1871be6e4fe8f34:

  drm/vmwgfx: Fix corner case screen target management (2016-07-01 10:47:51 
-0700)


Sinclair Yeh (6):
  drm/vmwgfx: Add a check to handle host message failure
  drm/vmwgfx: Work around mode set failure in 2D VMs
  drm/vmwgfx: Add an option to change assumed FB bpp
  drm/ttm: Make ttm_bo_mem_compat available
  drm/vmwgfx: Check pin count before attempting to move a buffer
  drm/vmwgfx: Delay pinning fbdev framebuffer until after mode set

Thomas Hellstrom (1):
  drm/vmwgfx: Fix corner case screen target management

 drivers/gpu/drm/ttm/ttm_bo.c   |  7 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c | 25 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c| 12 
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 47 
+--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c| 10 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c|  3 +++
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c   |  8 
 include/drm/ttm/ttm_bo_api.h   | 14 ++
 9 files changed, 88 insertions(+), 39 deletions(-)



[git pull] vmwgfx-fixes

2016-04-28 Thread Sinclair Yeh
Hi Dave,

The following changes since commit 928815245cbdaa611873424759d5e7a7293dd18b:

  Merge tag 'drm-intel-fixes-2016-04-07' of 
git://anongit.freedesktop.org/drm-intel into drm-fixes (2016-04-11 13:30:05 
+1000)

are available in the git repository at:


  git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-fixes

for you to fetch changes up to 7851496a32319237456919575e5f4ba62f74cc7d:

  drm/vmwgfx: Fix order of operation (2016-04-28 11:07:30 -0700)


Charmaine Lee (2):
  drm/vmwgfx: Enable SVGA_3D_CMD_DX_SET_PREDICATION
  drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands.

Sinclair Yeh (1):
  drm/vmwgfx: Fix order of operation

 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c  |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)



[git pull] vmwgfx-fixes-4.4

2015-12-08 Thread Thomas Hellstrom
Dave,
A couple of fixes for vmwgfx. A WARN() fix by Dan Carpenter,
a TTM read/write lock imbalance causing occasional hangs with Wayland and
an implementation of cursor_set2 to fix incorrectly offset Wayland cursors.

The following changes since commit 2f1371614a5d49428846b90673a89036518dffad:

  Merge branch 'drm-fixes-4.4' of git://people.freedesktop.org/~agd5f/linux 
into drm-fixes (2015-11-26 12:42:15 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-4.4-151208

for you to fetch changes up to 8fbf9d92a7bc4cadd3a0139698cf17031dfcdfca:

  drm/vmwgfx: Implement the cursor_set2 callback v2 (2015-12-08 12:55:46 +0100)


Pull request of 2015-12-08


Dan Carpenter (1):
  drm/vmwgfx: fix a warning message

Thomas Hellstrom (2):
  drm/ttm: Fixed a read/write lock imbalance
  drm/vmwgfx: Implement the cursor_set2 callback v2

 drivers/gpu/drm/ttm/ttm_lock.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c  |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h  |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  | 64 
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h  |  7 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c  |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c |  2 +-
 9 files changed, 63 insertions(+), 20 deletions(-)



[git pull] vmwgfx-fixes-4.3

2015-10-22 Thread Thomas Hellstrom
Hi, Dave,

I'm not sure whether this patch comes in too late, but it would be good to
have it in. It stabilizes command submission in case of command buffer errors.

The following changes since commit ed7d78b2da32198ca4c70172e3b63c6b3e2c570b:

  drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware (2015-10-13 
00:16:48 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux vmwgfx-fixes-4.3

for you to fetch changes up to 09dc1387c9c06cdaf55bc99b35238bd2ec0aed4b:

  drm/vmwgfx: Stabilize the command buffer submission code (2015-10-21 21:31:49 
+0200)


Thomas Hellstrom (1):
  drm/vmwgfx: Stabilize the command buffer submission code

 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 34 --
 1 file changed, 20 insertions(+), 14 deletions(-)


[git pull] vmwgfx-fixes-4.3

2015-10-15 Thread Thomas Hellstrom
Dave, 

A single critical fix for a NULL pointer dereference regression

The following changes since commit 575f9c8604e0b4c7b36fb41fc5fd280a3c336906:

  drm/vmwgfx: Fix a command submission hang regression (2015-09-30 05:50:37 
-0700)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-4.3-151014

for you to fetch changes up to ed7d78b2da32198ca4c70172e3b63c6b3e2c570b:

  drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware (2015-10-13 
00:16:48 -0700)


Pull request of 2015-10-14


Thomas Hellstrom (1):
  drm/vmwgfx: Fix kernel NULL pointer dereference on older hardware

 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


[git pull] vmwgfx-fixes-4.3

2015-10-01 Thread Thomas Hellstrom
Dave, 

A single commit to fix a command submission hang regression.


The following changes since commit 30c64664f110f76064e364cb5dd385edc3751ba5:

  drm: Allow also control clients to check the drm version (2015-09-24 00:24:24 
-0700)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-4.3-151001

for you to fetch changes up to 575f9c8604e0b4c7b36fb41fc5fd280a3c336906:

  drm/vmwgfx: Fix a command submission hang regression (2015-09-30 05:50:37 
-0700)


Pull request of 2015-10-01


Thomas Hellstrom (1):
  drm/vmwgfx: Fix a command submission hang regression

 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 8 
 1 file changed, 8 insertions(+)


[git pull] vmwgfx-fixes-4.3-150924

2015-09-24 Thread Thomas Hellstrom
Dave,

Vmwgfx fixes for 4.3:
 - A couple of uninitialized variable fixes by Christian Engelmayer
 - A TTM fix for a bug that causes problems with the new vmwgfx device init
 - A vmwgfx refcounting fix
 - A vmwgfx iomem caching fix
 - A DRM change to allow also control clients to read the drm driver version.

The following changes since commit 9fbcc7c007ea200357e2453c6b2b153646fbc165:

  Merge branch 'linux-4.3' of 
git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-next (2015-09-11 
14:38:36 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux tags/vmwgfx-fixes-4.3-150924

for you to fetch changes up to 30c64664f110f76064e364cb5dd385edc3751ba5:

  drm: Allow also control clients to check the drm version (2015-09-24 00:24:24 
-0700)


Pull request of 2015-09-24


Christian Engelmayer (2):
  drm/vmwgfx: Fix uninitialized return in vmw_cotable_unbind()
  drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty()

Thomas Hellstrom (5):
  drm/vmwgfx: Fix up user_dmabuf refcounting
  drm/vmwgfx: Map the fifo as cached
  drm/ttm: Fix memory space allocation v2
  drm/vmwgfx: Only build on X86
  drm: Allow also control clients to check the drm version

 drivers/gpu/drm/drm_ioctl.c  |  3 ++-
 drivers/gpu/drm/ttm/ttm_bo.c | 28 
 drivers/gpu/drm/vmwgfx/Kconfig   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c  | 10 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h  |  7 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c  |  6 --
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c  |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 29 +
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  | 11 ---
 12 files changed, 62 insertions(+), 44 deletions(-)


[git pull] vmwgfx-fixes-4.2

2015-08-14 Thread Thomas Hellstrom
On 08/14/2015 02:04 PM, Thomas Hellstrom wrote:
> Dave, 
> A single commit Cc'd stable. Causes deadlocks under graphics memory pressures.

Dave,

Just saw that this was already in your latest pull request to Linus, so
never mind this.

Thanks,
Thomas



[git pull] vmwgfx-fixes-4.2

2015-08-14 Thread Thomas Hellstrom
Dave, 
A single commit Cc'd stable. Causes deadlocks under graphics memory pressures.

The following changes since commit bdce3e7c729907e303396690b2b23b972c6717be:

  Merge branch 'msm-fixes-4.2' of git://people.freedesktop.org/~robclark/linux 
into drm-fixes (2015-07-30 12:41:44 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~thomash/linux 

for you to fetch changes up to 18cd324a7ced2587e87fc16fca0410490fe164df:

  drm/vmwgfx: Fix execbuf locking issues (2015-08-11 22:24:21 -0700)


Thomas Hellstrom (1):
  drm/vmwgfx: Fix execbuf locking issues

 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)