]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hyperv: Add DRM driver for hyperv synthetic video device
authorDeepak Rawat <drawat.floss@gmail.com>
Thu, 27 May 2021 11:22:28 +0000 (04:22 -0700)
committerDeepak Rawat <drawat.floss@gmail.com>
Mon, 7 Jun 2021 15:04:10 +0000 (08:04 -0700)
commit76c56a5affeba1e163b66b9d8cc192e6154466f0
tree1eb8d9b3a07ff6d0b8488e845fc94aa5e2a4e6b1
parentabb50d67adf3f01f567f365b45ecb49df8289296
drm/hyperv: Add DRM driver for hyperv synthetic video device

DRM driver for hyperv synthetic video device, based on hyperv_fb
framebuffer driver. Also added config option "DRM_HYPERV" to enabled
this driver.

v2:
- Add support for gen2 VM
- Fixed review comments

v3:
- Split into multiple files as suggested by Thomas Zimmermann
- Fixed hibernation issue as suggested by Dexuan Cui
- Use ioremap_cache as suggested by Dexuan Cui
- Incorporated other review comments

v4:
- Fix bitrotted code
- Review comments
- Updated the copyright and license to match hyperv_fb

v5:
- Address review comments and rebased with drm-misc-next

v6:
- Minor code/comment improvement as suggested by Dexuan Cui

Signed-off-by: Deepak Rawat <drawat.floss@gmail.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210527112230.1274-1-drawat.floss@gmail.com
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/hyperv/Makefile [new file with mode: 0644]
drivers/gpu/drm/hyperv/hyperv_drm.h [new file with mode: 0644]
drivers/gpu/drm/hyperv/hyperv_drm_drv.c [new file with mode: 0644]
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c [new file with mode: 0644]
drivers/gpu/drm/hyperv/hyperv_drm_proto.c [new file with mode: 0644]