diff options
author | Sumera Priyadarsini <sylphrenadin@gmail.com> | 2021-01-12 00:36:34 +0530 |
---|---|---|
committer | Melissa Wen <melissa.srw@gmail.com> | 2021-01-12 17:16:00 -0300 |
commit | 2df7af93fdadb9ba8226fe443fae15ecdefda2a6 (patch) | |
tree | cad8979ce334081bdf795d0c96e346138b82f970 /drivers/firmware | |
parent | cc3283f8f41f741fbaef63d0503d8fb4a7919100 (diff) | |
download | linux-2df7af93fdadb9ba8226fe443fae15ecdefda2a6.tar.bz2 |
drm/vkms: Add vkms_config type
Currently, data for the device instance is held by vkms_device.
Add a separate type, vkms_config to contain configuration details
for the device and various modes to be later used by configfs.
This config data stays constant once the device is created.
Accordingly, add vkms_create and vkms_destroy to initialize/destroy
device through configfs. Currently, they are being called from vkms_init
and vkms_exit, but will be evoked from configfs later on. When configfs
is added, device configuration will be tracked by configfs and only vkms
device lifetime will be handled by vkms_init and vkms_exit functions.
Modify usage of enable_cursor feature to reflect the changes in
relevant files.
Co-developed-by: Daniel Vetter <danvet.vetter@ffwl.ch>
Signed-off-by: Daniel Vetter <danvet.vetter@ffwl.ch>
Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Reviewed-by: Melissa Wen <melissa.srw@gmail.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a090ad29b826185df30f80c66932dd2173d7b060.1610391685.git.sylphrenadin@gmail.com
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions