All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] DRM driver for hyper-v synthetic video device
@ 2020-06-22 11:06 ` Deepak Rawat
  0 siblings, 0 replies; 43+ messages in thread
From: Deepak Rawat @ 2020-06-22 11:06 UTC (permalink / raw)
  To: linux-hyperv, dri-devel
  Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	K Y Srinivasan, Haiyang Zhang, Stephen Hemminger, Wei Liu,
	Wei Hu, Jork Loeser, Michael Kelley, Deepak Rawat

Hi All,

First draft of DRM driver for hyper-v synthetic video device. This synthetic
device is already supported by hyper-v and a corresponding framebuffer driver
exist at drivers/video/fbdev/hyperv_fb.c. With this patch, just reworked the
framebuffer driver into DRM, in doing so got mode-setting support. The code is
similar to cirrus DRM driver, using simple display pipe and shmem backed
GEM objects.

The device support more features like hardware cursor, EDID, multiple dirty
regions, etc, which were not supported with framebuffer driver. The plan is to
add support for those in future iteration. Wanted to get initial feedback and
discuss cursor support with simple kms helper. Is there any value to add cursor
support to drm_simple_kms_helper.c so that others can use it, or should I just
add cursor plane as device private? I believe we can still keep this driver
in drm/tiny?

For testing, ran GNOME and Weston with current changes in a Linux VM on
Windows 10 with hyper-v enabled.

Thanks,
Deepak

Deepak Rawat (2):
  drm/hyperv: Add DRM driver for hyperv synthetic video device
  MAINTAINERS: Add maintainer for hyperv video device

 MAINTAINERS                       |    8 +
 drivers/gpu/drm/tiny/Kconfig      |    9 +
 drivers/gpu/drm/tiny/Makefile     |    1 +
 drivers/gpu/drm/tiny/hyperv_drm.c | 1007 +++++++++++++++++++++++++++++
 4 files changed, 1025 insertions(+)
 create mode 100644 drivers/gpu/drm/tiny/hyperv_drm.c

-- 
2.27.0


^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video  device
@ 2020-09-10  8:19 Tang, Shaofeng
  2020-09-11  0:38 ` Deepak Rawat
  0 siblings, 1 reply; 43+ messages in thread
From: Tang, Shaofeng @ 2020-09-10  8:19 UTC (permalink / raw)
  To: dri-devel, drawat.floss; +Cc: Huang, Yuanjun, Jiang, Fei


[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]

Hi Deepak,

Do you have a new version of this patch now?
I take a try with it. and meet some typo and "incompatible pointer" error.
If you have a new version, could you share it with us?

BR, Shaofeng

[-- Attachment #1.2: Type: text/html, Size: 2027 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

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

^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv synthetic video device
@ 2020-09-28 15:58 Marcin Skarbek
  0 siblings, 0 replies; 43+ messages in thread
From: Marcin Skarbek @ 2020-09-28 15:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]

Hi Deepak,

I have tested your patch using Fedora 32 as a guest and Windows 10 Pro 1809
as host (Gen 2 VM). No issues with building or loading the kernel module
and I have successfully run SwayWM inside VM using hyperv_drm.
Unfortunately, I'm unable to change the resolution beyond FHD. I have a
WQHD monitor and I would like to utilize it fully with VM running in
full-screen mode but SwayWM detects only FHD as a max available resolution.
Also, performance is less than desirable, even mouse pointer rendering is
sluggish.
I'm a poor C programmer so I won't be very helpful with development but let
me know if there is anything I can do to help with testing future versions
of this patch. This is something that I really would like to see in future
kernel releases.

-- 
Regards
Marcin Skarbek

[-- Attachment #1.2: Type: text/html, Size: 1167 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

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

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2020-11-16 16:37 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 11:06 [RFC PATCH 0/2] DRM driver for hyper-v synthetic video device Deepak Rawat
2020-06-22 11:06 ` Deepak Rawat
2020-06-22 11:06 ` [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv " Deepak Rawat
2020-06-22 11:06   ` Deepak Rawat
2020-06-22 12:46   ` Gerd Hoffmann
2020-06-22 12:46     ` Gerd Hoffmann
2020-06-22 22:20     ` Deepak Rawat
2020-06-22 22:20       ` Deepak Rawat
2020-06-23  9:42       ` Daniel Vetter
2020-06-23  9:42         ` Daniel Vetter
2020-06-23 16:17         ` Gerd Hoffmann
2020-06-23 16:17           ` Gerd Hoffmann
2020-06-25  0:47           ` Deepak Rawat
2020-06-25  0:47             ` Deepak Rawat
2020-06-22 15:19   ` Sam Ravnborg
2020-06-22 15:19     ` Sam Ravnborg
2020-06-22 22:43     ` Deepak Rawat
2020-06-22 22:43       ` Deepak Rawat
2020-06-23  7:59     ` Thomas Zimmermann
2020-06-23  7:59       ` Thomas Zimmermann
2020-06-23  9:12       ` Deepak Rawat
2020-06-23  9:12         ` Deepak Rawat
2020-06-23  9:19         ` Thomas Zimmermann
2020-06-23  9:19           ` Thomas Zimmermann
2020-06-22 18:45   ` kernel test robot
2020-06-23  2:31   ` Dexuan Cui
2020-06-23  2:31     ` Dexuan Cui
2020-06-23  6:48     ` Deepak Rawat
2020-06-23  6:48       ` Deepak Rawat
2020-06-23 21:58       ` Dexuan Cui
2020-06-23 21:58         ` Dexuan Cui
2020-06-22 11:06 ` [RFC PATCH 2/2] MAINTAINERS: Add maintainer for hyperv " Deepak Rawat
2020-06-22 11:06   ` Deepak Rawat
2020-06-28 23:01 ` [RFC PATCH 0/2] DRM driver for hyper-v synthetic " Daniel Vetter
2020-06-28 23:01   ` Daniel Vetter
2020-09-10  8:19 [RFC PATCH 1/2] drm/hyperv: Add DRM driver for hyperv " Tang, Shaofeng
2020-09-11  0:38 ` Deepak Rawat
2020-11-15  9:14   ` Thomas Zimmermann
2020-11-15 17:55     ` Deepak Rawat
2020-11-15 18:58       ` Thomas Zimmermann
2020-11-16  9:58         ` Daniel Vetter
2020-11-16 16:36           ` Deepak Rawat
2020-09-28 15:58 Marcin Skarbek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.