| cb500b4c | 15-Nov-2025 |
Harry Wentland <harry.wentland@amd.com> |
drm/vkms: Add kunit tests for linear and sRGB LUTs
Two tests are added to VKMS LUT handling: - linear - inv_srgb
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Alex Hung <ale
drm/vkms: Add kunit tests for linear and sRGB LUTs
Two tests are added to VKMS LUT handling: - linear - inv_srgb
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Simon Ser <contact@emersion.fr> Link: https://patch.msgid.link/20251115000237.3561250-18-alex.hung@amd.com
show more ...
|
| 7766ae8d | 03-Jul-2025 |
Louis Chauvet <louis.chauvet@bootlin.com> |
drm/vkms: Change YUV helpers to support u16 inputs for conversion
Some YUV format uses 16 bit values, so change the helper function for conversion to support those new formats.
Reviewed-by: Maíra C
drm/vkms: Change YUV helpers to support u16 inputs for conversion
Some YUV format uses 16 bit values, so change the helper function for conversion to support those new formats.
Reviewed-by: Maíra Canal <mcanal@igalia.com> Acked-by: Daniel Stone <daniels@collabora.com> Link: https://lore.kernel.org/r/20250703-b4-new-color-formats-v7-6-15fd8fd2e15c@bootlin.com Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
show more ...
|
| 2c7aafc0 | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to attach connectors and encoders
Add a list of possible encoders to the connector configuration and helpers to attach and detach them.
Now that the default configuration has its co
drm/vkms: Allow to attach connectors and encoders
Add a list of possible encoders to the connector configuration and helpers to attach and detach them.
Now that the default configuration has its connector and encoder correctly, configure the output following the configuration.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-15-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| da38c720 | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to configure multiple connectors
Add a list of connectors to vkms_config and helper functions to add and remove as many connectors as wanted.
For backwards compatibility, add one en
drm/vkms: Allow to configure multiple connectors
Add a list of connectors to vkms_config and helper functions to add and remove as many connectors as wanted.
For backwards compatibility, add one enabled connector to the default configuration.
A future patch will allow to attach connectors and encoders, but for the moment there are no changes in the way the output is configured.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-14-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| b8776fc9 | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to attach encoders and CRTCs
Add a list of possible CRTCs to the encoder configuration and helpers to attach and detach them.
Now that the default configuration has its encoder and
drm/vkms: Allow to attach encoders and CRTCs
Add a list of possible CRTCs to the encoder configuration and helpers to attach and detach them.
Now that the default configuration has its encoder and CRTC correctly attached, configure the output following the configuration.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-13-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| f60a183d | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to configure multiple encoders
Add a list of encoders to vkms_config and helper functions to add and remove as many encoders as wanted.
For backwards compatibility, add one encoder
drm/vkms: Allow to configure multiple encoders
Add a list of encoders to vkms_config and helper functions to add and remove as many encoders as wanted.
For backwards compatibility, add one encoder to the default configuration.
A future patch will allow to attach encoders and CRTCs, but for the moment there are no changes in the way the output is configured.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-12-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| c204bf65 | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to attach planes and CRTCs
Add a list of possible CRTCs to the plane configuration and helpers to attach, detach and get the primary and cursor planes attached to a CRTC.
Now that t
drm/vkms: Allow to attach planes and CRTCs
Add a list of possible CRTCs to the plane configuration and helpers to attach, detach and get the primary and cursor planes attached to a CRTC.
Now that the default configuration has its planes and CRTC correctly attached, configure the output following the configuration.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-11-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| 600df32d | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to configure multiple CRTCs
Add a list of CRTCs to vkms_config and helper functions to add and remove as many CRTCs as wanted.
For backwards compatibility, add one CRTC to the defau
drm/vkms: Allow to configure multiple CRTCs
Add a list of CRTCs to vkms_config and helper functions to add and remove as many CRTCs as wanted.
For backwards compatibility, add one CRTC to the default configuration.
A future patch will allow to attach planes and CRTCs, but for the moment there are no changes in the way the output is configured.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-10-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| bc5b0d5d | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Allow to configure multiple planes
Add a list of planes to vkms_config and create as many planes as configured during output initialization.
For backwards compatibility, add one primary p
drm/vkms: Allow to configure multiple planes
Add a list of planes to vkms_config and create as many planes as configured during output initialization.
For backwards compatibility, add one primary plane and, if configured, one cursor plane and NUM_OVERLAY_PLANES planes to the default configuration.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-9-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| d1386d72 | 18-Feb-2025 |
Louis Chauvet <louis.chauvet@bootlin.com> |
drm/vkms: Add a validation function for VKMS configuration
As the configuration will be used by userspace, add a validator to avoid creating a broken DRM device.
For the moment, the function always
drm/vkms: Add a validation function for VKMS configuration
As the configuration will be used by userspace, add a validator to avoid creating a broken DRM device.
For the moment, the function always returns true, but rules will be added in future patches.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-8-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| 969a3a4e | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Set device name from vkms_config
In order to be able to create multiple devices, the device name needs to be unique.
Allow to set it in the VKMS configuration.
Reviewed-by: Louis Chauvet
drm/vkms: Set device name from vkms_config
In order to be able to create multiple devices, the device name needs to be unique.
Allow to set it in the VKMS configuration.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-7-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| 8b059b0c | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Move default_config creation to its own function
Extract the initialization of the default configuration to a function. Refactor, no functional changes.
Reviewed-by: Louis Chauvet <louis.
drm/vkms: Move default_config creation to its own function
Extract the initialization of the default configuration to a function. Refactor, no functional changes.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-6-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|
| d3ae1e39 | 18-Feb-2025 |
José Expósito <jose.exposito89@gmail.com> |
drm/vkms: Extract vkms_config header
Creating a new vkms_config structure will be more complex once we start adding more options.
Extract the vkms_config structure to its own header and source file
drm/vkms: Extract vkms_config header
Creating a new vkms_config structure will be more complex once we start adding more options.
Extract the vkms_config structure to its own header and source files and add functions to create and delete a vkms_config and to initialize debugfs.
Refactor, no functional changes.
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-5-jose.exposito89@gmail.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
show more ...
|