[PATCH i-g-t RESEND v3 0/2] tests/kms_properties: rework immutability checks
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Fri Nov 22 12:34:08 UTC 2024
On Fri, 15 Nov 2024 at 23:19, Dmitry Baryshkov
<dmitry.baryshkov at linaro.org> wrote:
>
> Following the discussion on IRC, it is actually an error to require that
> properties that can not be chaged are marked as immutable.
>
> The DRM_MODE_PROP_IMMUTABLE defines more of the 'direction' of the
> property (whether it is set by the kernel or it is expected to be set by
> the userspace) rather than simply states that there is no way for the
> userspace to change the property.
>
> Drop the existing immutability test and spawn (as an RFC) new sanity
> checker for properties.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>
> ---
> Changes in v3:
> - Split implementation into two patches, one to remove the immutability
> check and another one to add sanity checks.
And gracious ping. Ville, I've split the patches now. Could you
possibly comment?
--
With best wishes
Dmitry
More information about the igt-dev
mailing list