[PATCH] drm/tests: make sure drm_client_modeset tests are enabled

Dmitry Baryshkov posted 1 patch 1 month, 1 week ago
drivers/gpu/drm/tests/.kunitconfig | 2 ++
1 file changed, 2 insertions(+)
[PATCH] drm/tests: make sure drm_client_modeset tests are enabled
Posted by Dmitry Baryshkov 1 month, 1 week ago
Default config for UML (x86_64) doesn't include any driver which
supports DRM_CLIENT_SELECTION, which makes drm_client_modeset disabled
(and correspondingly tests for that module are not executed too).

Enable DRM_VKMS and DRM_FBDEV_EMULATION in order to be able to run DRM
client modesetting tests.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 drivers/gpu/drm/tests/.kunitconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/tests/.kunitconfig b/drivers/gpu/drm/tests/.kunitconfig
index 6ec04b4c979d45a082a5fb078b81346e1f60b0d2..5be8e71f45d5c3588ca67f117e4c44b995153f63 100644
--- a/drivers/gpu/drm/tests/.kunitconfig
+++ b/drivers/gpu/drm/tests/.kunitconfig
@@ -1,3 +1,5 @@
 CONFIG_KUNIT=y
 CONFIG_DRM=y
+CONFIG_DRM_VKMS=y
+CONFIG_DRM_FBDEV_EMULATION=y
 CONFIG_DRM_KUNIT_TEST=y

---
base-commit: c8cea4371e5eca30cda8660aabb337747dabc51d
change-id: 20250821-drm-client-tests-32657432c103

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH] drm/tests: make sure drm_client_modeset tests are enabled
Posted by Dmitry Baryshkov 2 weeks, 3 days ago
On Thu, 21 Aug 2025 14:25:06 +0300, Dmitry Baryshkov wrote:
> Default config for UML (x86_64) doesn't include any driver which
> supports DRM_CLIENT_SELECTION, which makes drm_client_modeset disabled
> (and correspondingly tests for that module are not executed too).
> 
> Enable DRM_VKMS and DRM_FBDEV_EMULATION in order to be able to run DRM
> client modesetting tests.
> 
> [...]

Applied to drm-misc-next, thanks!

[1/1] drm/tests: make sure drm_client_modeset tests are enabled
      commit: 4db6e24f565b60a05c762554c05d37f780fe4406

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH] drm/tests: make sure drm_client_modeset tests are enabled
Posted by Louis Chauvet 3 weeks, 4 days ago

Le 21/08/2025 à 13:25, Dmitry Baryshkov a écrit :
> Default config for UML (x86_64) doesn't include any driver which
> supports DRM_CLIENT_SELECTION, which makes drm_client_modeset disabled
> (and correspondingly tests for that module are not executed too).
> 
> Enable DRM_VKMS and DRM_FBDEV_EMULATION in order to be able to run DRM
> client modesetting tests.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>

> ---
>   drivers/gpu/drm/tests/.kunitconfig | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/tests/.kunitconfig b/drivers/gpu/drm/tests/.kunitconfig
> index 6ec04b4c979d45a082a5fb078b81346e1f60b0d2..5be8e71f45d5c3588ca67f117e4c44b995153f63 100644
> --- a/drivers/gpu/drm/tests/.kunitconfig
> +++ b/drivers/gpu/drm/tests/.kunitconfig
> @@ -1,3 +1,5 @@
>   CONFIG_KUNIT=y
>   CONFIG_DRM=y
> +CONFIG_DRM_VKMS=y
> +CONFIG_DRM_FBDEV_EMULATION=y
>   CONFIG_DRM_KUNIT_TEST=y
> 
> ---
> base-commit: c8cea4371e5eca30cda8660aabb337747dabc51d
> change-id: 20250821-drm-client-tests-32657432c103
> 
> Best regards,

-- 
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Re: [PATCH] drm/tests: make sure drm_client_modeset tests are enabled
Posted by Dmitry Baryshkov 4 weeks ago
On Thu, Aug 21, 2025 at 02:25:06PM +0300, Dmitry Baryshkov wrote:
> Default config for UML (x86_64) doesn't include any driver which
> supports DRM_CLIENT_SELECTION, which makes drm_client_modeset disabled
> (and correspondingly tests for that module are not executed too).
> 
> Enable DRM_VKMS and DRM_FBDEV_EMULATION in order to be able to run DRM
> client modesetting tests.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
>  drivers/gpu/drm/tests/.kunitconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 

Gracious ping

-- 
With best wishes
Dmitry