Displaying 1 result from an estimated 1 matches for "config_km".
Did you mean:
config_pm
2023 Mar 01
0
[PATCH v4] drm/virtio: Add option to disable KMS support
...are scenarios
> of using passthrough GPU + virtio-gpu in a guest, hence we would only
> want to toggle KMS for a particular driver.
IMHO both ways options to disable the KMS bits should work the same way.
With the current patch modeset_init() runs with num_scanouts == 0 but
doesn't with CONFIG_KMS=n. There are also two different ways to tweak
driver_features. Can we get rid of that please, for robustness reasons?
I'd suggest to have a is_kms_enabled() helper function (probably best as
inline so gcc can figure it is constant false for CONFIG_KMS=n and throw
away unreachable code). Ad...