From: Deepak Rawat
Makes surface_define cleaner by sending vmw_surface_metadata instead of
all the arguments individually.
v2: fix uninitialized return value, error message
Signed-off-by: Deepak Rawat
Reviewed-by: Brian Paul
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland
t use deprecated PTR_RET)
Signed-off-by: Deepak Rawat
Signed-off-by: Neha Bhende
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c | 129 -
drivers/gpu/drm/vmwgfx/vmwgfx_bind
From: Deepak Rawat
Logic ops commands are marked as deprecated by virtual device and were
never used by vmwgfx.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
.../gpu/drm/vmwgfx/device_include
From: Deepak Rawat
Instead of having different bool in device private to represent
incremental graphics context capabilities, add a new sm type enum.
v2: Use enum instead of bit flag.
v3: Incorporated review comments.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware
From: Deepak Rawat
Virtual device now supports new shader types, allow them as valid shader
type in command buffer. Also add per shader bind info in binding manager
state for new shader type.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
From: Deepak Rawat
A new enum to represent new SM5 graphics context capability in vmwgfx.
v2: use new correct cap bits (merged several later commits into it).
Signed-off-by: Deepak Rawat
Signed-off-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland
From: Deepak Rawat
Virtual device consider SVGA_CAP_DX and SVGA3D_DEVCAP_DXCONTEXT
independent of each other. Some of the commands in cmd_buf depends on
SVGA_CAP_DX, so better to check for that as well.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland
From: Deepak Rawat
Add a new param for user-space to determine if kernel module is SM5
capable.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 3 +++
include
.
Signed-off-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
.../gpu/drm/vmwgfx/device_include/svga3d_devcaps.h | 13 +
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 11 +++
2 files changed
-by: Deepak Rawat
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c | 36 -
drivers/gpu/drm/vmwgfx/vmwgfx_binding.h | 6 ++---
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4
From: Deepak Rawat
Create a new structure vmw_surface_metadata representing the metadata
used for creating surface. With this can make the surface_define_priv
a bit cleaner.
Signed-off-by: Deepak Rawat
Reviewed-by: Brian Paul
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland
From: Thomas Hellström (VMware)
Signed-off-by: Thomas Hellström (VMware)
Reviewed-by: Charmaine Lee
Reviewed-by: Brian Paul
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
___
v2: Use 2.18 instead of 2.17
---
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
1 file changed, 1
as only one can be set to context.
v4: Fix comment typos
Signed-off-by: Deepak Rawat
Signed-off-by: Neha Bhende
Reviewed-by: Thomas Hellström (VMware)
Reviewed-by: Roland Scheidegger
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/Makefile | 2 +-
drivers/gpu/drm
ine to use vmw_surface_metadata
drm/vmwgfx: Add surface define v4 command
drm/vmwgfx: Add SM5 param for userspace
Thomas Hellström (VMware) (1):
drm/vmwgfx: Use vmwgfx version 2.18 to signal SM5 compatibility
drivers/gpu/drm/vmwgfx/Makefile| 2 +-
drivers/gpu/
From: Zack Rusin
ttm_mem_type_manager_func.get_node was changed to return -ENOSPC
instead of setting the node pointer to NULL. Unfortunately
vmwgfx still had two places where it was explicitly converting
-ENOSPC to 0 causing regressions. This fixes those spots by
allowing -ENOSPC to be returned.
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
From: Roland Scheidegger
Same problem as in stdu, same fix.
Fixes: 51f644b40b4b ("drm/atomic-helper: reset vblank on crtc reset")
Acked-by: Charmaine Lee
Reviewed-by: Zack Rusin
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 8 ++--
1 file changed, 2 insertio
From: Roland Scheidegger
Same problem as in stdu, same fix.
Fixes: 51f644b40b4b ("drm/atomic-helper: reset vblank on crtc reset")
Acked-by: Charmaine Lee
Reviewed-by: Zack Rusin
Signed-off-by: Roland Scheidegger
---
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 9 ++---
1 file changed, 2 insert
Dave, Daniel,
vmwgfx fixes pull for 5.9.
The drm_mode_config_reset patches are very important fixing a recently
introduced kernel crash, the others fix various older issues which are
a bit less serious in practice.
(Although still pending a solution for the other crash introduced by
2ddef17678bc2e
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
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/radeon/radeon_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/radeon/radeon_test.c
b/drivers/gpu/drm/radeon/radeon_test.c
index f5e9abfadb56..573e123c3a16 100644
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
index 2dbe87591f81..9ae10acd44c5
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/drm_vma_manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_vma_manager.c
b/drivers/gpu/drm/drm_vma_manager.c
index 23c749c05b5a..a6b2fe36b025 100644
--- a/drivers
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c
b/drivers/gpu/drm/nouveau/nouveau_ttm.c
index dff51a0ee028
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/vmwgfx/device_include/svga3d_caps.h| 3 ++-
drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h | 3 ++-
drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h | 3
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/drm_global.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_global.c b/drivers/gpu/drm/drm_global.c
index b2dc21e33ae0..5799e2782dd1 100644
--- a/drivers
This is licensed under GPL-2.0.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/vmwgfx/Kconfig| 1 +
.../vmwgfx/device_include/vmware_pack_begin.h | 25 +--
.../vmwgfx/device_include/vmware_pack_end.h | 25 +--
drivers/gpu/drm/vmwgfx
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/ttm/ttm_agp_backend.c | 1 +
drivers/gpu/drm/ttm/ttm_bo.c | 1 +
drivers/gpu/drm/ttm/ttm_bo_manager.c | 1 +
drivers/gpu/drm/ttm/ttm_bo_util.c | 1 +
drivers/gpu/drm/ttm
This series clarifies licenses, removes unnecessary boilerplate and addas
SPDX headers for files in drm that are copyrighted by VMware.
/D
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/drm_global.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_global.c b/drivers/gpu/drm/drm_global.c
index b2dc21e33ae0..5799e2782dd1 100644
--- a/drivers
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
index 2dbe87591f81..9ae10acd44c5
This is dual licensed under GPL-2.0 or MIT.
vmwgfx_msg.h is the odd one out that is GPL-2.0+ or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
.../drm/vmwgfx/device_include/svga3d_caps.h | 3 +-
.../drm/vmwgfx/device_include/svga3d_cmd.h| 3 +-
.../vmwgfx/device_include/svga3d_devcaps.h
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/radeon/radeon_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/radeon/radeon_test.c
b/drivers/gpu/drm/radeon/radeon_test.c
index f5e9abfadb56..573e123c3a16 100644
These files are licensed under GPL-2.0.
Removing the MIT boilerplate as that really didn't make any sense for
those two header files.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/vmwgfx/Kconfig| 1 +
.../vmwgfx/device_include/vmware_pack_begin.h
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
Signed-off-by: David Herrmann
Signed-off-by: David Airlie
---
drivers/gpu/drm/drm_vma_manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_vma_manager.c
b/drivers/gpu/drm
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
---
drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c
b/drivers/gpu/drm/nouveau/nouveau_ttm.c
index dff51a0ee028
This is dual licensed under GPL-2.0 or MIT.
Signed-off-by: Dirk Hohndel (VMware)
Signed-off-by: Thomas Hellstrom
---
drivers/gpu/drm/ttm/ttm_agp_backend.c | 1 +
drivers/gpu/drm/ttm/ttm_bo.c | 1 +
drivers/gpu/drm/ttm/ttm_bo_manager.c | 1 +
drivers/gpu/drm/ttm/ttm_bo_util.c
License clarifications and SPDX headers for a bunch of files which were
authored by VMware.
This should address the comments made on the previous series.
I added Thomas as Cc (sorry, forgot on the first version) and added a
couple of SOBs that I had received in the meantime.
Thanks
/D
: Maaz Mombasawala (VMware)
---
drivers/gpu/drm/vmwgfx/ttm_object.c | 6 +++---
drivers/gpu/drm/vmwgfx/ttm_object.h | 3 +--
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 17 ++---
include/uapi/drm/vmwgfx_drm.h | 5 +++--
4 files changed, 13 insertions(+), 18 deletions
From: Maaz Mombasawala
Update vmwgfx_drm.h with SPDX-License-Identifier:
(GPL-2.0 WITH Linux-syscall-note) OR MIT
Signed-off-by: Maaz Mombasawala
Reviewed-by: Martin Krastev
Signed-off-by: Maaz Mombasawala (VMware)
---
include/uapi/drm/vmwgfx_drm.h | 1 +
1 file changed, 1 insertion
ac97_codec ac97_bus snd_pcm
gameport>
CPU: 2 PID: 2632 Comm: vmw_ref_count Not tainted 6.5.0-rc2-vmwgfx #1
Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference
Platform, BIOS 6.00 11/12/2020
RIP: 0010:refcount_warn_saturate+0xfb/0x150
Code: eb 9e 0f b6 1d 8b 5b a6 01 80 fb 01 0
401 - 441 of 441 matches
Mail list logo