diff options
| author | Sumera Priyadarsini <[email protected]> | 2021-01-11 19:06:34 +0000 |
|---|---|---|
| committer | Melissa Wen <[email protected]> | 2021-01-12 20:16:00 +0000 |
| commit | 2df7af93fdadb9ba8226fe443fae15ecdefda2a6 (patch) | |
| tree | cad8979ce334081bdf795d0c96e346138b82f970 /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/fourcc: fix Amlogic format modifier masks (diff) | |
| download | kernel-2df7af93fdadb9ba8226fe443fae15ecdefda2a6.tar.gz kernel-2df7af93fdadb9ba8226fe443fae15ecdefda2a6.zip | |
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Signed-off-by: Sumera Priyadarsini <[email protected]>
Reviewed-by: Melissa Wen <[email protected]>
Signed-off-by: Melissa Wen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/a090ad29b826185df30f80c66932dd2173d7b060.1610391685.git.sylphrenadin@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
