search for: drmmodegetplane

Displaying 1 result from an estimated 1 matches for "drmmodegetplane".

Did you mean: drm_mode_getplane
2019 Apr 03
0
[PATCH] drm/cirrus: rewrite and modernize driver.
..., you're adding a format-conversion blit in > the middle for no reason. If I could ask the kernel for the entire list > of supported formats, I could only set up the shadow if it was > necessary. There's already a list of supported formats for each DRM plane, which you can get via drmModeGetPlane (being careful to enable universal planes so you can discover the primary plane). The same information is present in the 'IN_FORMATS' property, which is more difficult to parse but also tells you about modifiers. modesetting already pulls all this out (at least in the atomic path) so we ca...