[vbox-dev] Fwd: [PATCH 0/1] staging: vboxvideo: Add vboxvideo to drivers/staging
Hans de Goede
hdegoede at redhat.com
Fri Jun 9 10:01:16 UTC 2017
I forgot to Cc the cover letter of the upstream submission of
vboxvideo, so here is a FWD. This is a slightly extended
version of the commit message.
-------- Forwarded Message --------
Subject: [PATCH 0/1] staging: vboxvideo: Add vboxvideo to drivers/staging
Date: Fri, 9 Jun 2017 11:58:30 +0200
From: Hans de Goede <hdegoede at redhat.com>
To: Greg Kroah-Hartman <gregkh at linuxfoundation.org>, Daniel Vetter <daniel.vetter at intel.com>, Jani Nikula <jani.nikula at linux.intel.com>, Sean Paul <seanpaul at chromium.org>, David Airlie <airlied at linux.ie>
CC: Hans de Goede <hdegoede at redhat.com>, dri-devel at lists.freedesktop.org, devel at driverdev.osuosl.org
Recently I've been working on cleaning up the vboxvideo driver with the
intend of mainlining it. For more background info also see:
Up until now this has never been done because of userspace ABI stability
concerns surrounding the guest drivers. I've been talking to VirtualBox
upstream about mainlining the guest drivers and VirtualBox upstream has
agreed to consider the userspace ABI stable and only extend it in a backwards
Why drivers/staging? This driver is already being patched into the kernel
by several distros, thus it is good to get this driver upstream soon, so
that work on the driver can be easily shared.
At the same time we want to take our time to get this driver properly
cleaned up before submitting it as a normal driver under drivers/gpu/drm,
putting this driver in staging for now allows both.
Note this driver has already been significantly cleaned up, when I started
working on this the files under /usr/src/vboxguest/vboxvideo as installed
by Virtual Box 5.1.18 Guest Additions had a total linecount of 52681
lines. The version in this commit has 7275 lines.
Of those 7275 lines 3980 lines are in an osindependent directory which
contains portable code which is shared with other guest platforms such as
C-structure definitions for the virtual graphics card protocol and helper
functions for using these structures to communicate with the card. Since
these files are shared they are in the standard Virtual Box upstream code
style and not in the kernel coding style. All files outside of the
osindependent directory fully adhere to the kernel coding style.
More information about the vbox-dev