[RFC PATCH v2 0/3] Support for Solid Fill Planes

2022-12-22 Thread Jessica Zhang
Introduce and add support for a solid_fill property. When the solid_fill property is set, and the framebuffer is set to NULL, memory fetch will be disabled. In addition, loosen the NULL FB checks within the atomic commit callstack to allow a NULL FB when the solid_fill property is set and add FB c

[RFC PATCH v2 3/3] drm/msm/dpu: Use color_fill property for DPU planes

2022-12-22 Thread Jessica Zhang
Initialize and use the color_fill properties for planes in DPU driver. In addition, relax framebuffer requirements within atomic commit path and add checks for NULL framebuffers. Finally, drop DPU_PLANE_COLOR_FILL_FLAG as it's unused. Changes since V2: - Fixed dropped 'const' warning - Dropped use

[RFC PATCH v2 1/3] drm: Introduce solid fill property for drm plane

2022-12-22 Thread Jessica Zhang
Add support for solid_fill property to drm_plane. In addition, add support for setting and getting the values for solid_fill. solid_fill holds data for supporting solid fill planes. The property accepts an RGB323232 value and the driver data is formatted as such: struct drm_solid_fill { u

[RFC PATCH v2 2/3] drm: Adjust atomic checks for solid fill color

2022-12-22 Thread Jessica Zhang
Loosen the requirements for atomic and legacy commit so that, in cases where solid fill planes is enabled (and FB_ID is NULL), the commit can still go through. In addition, add framebuffer NULL checks in other areas to account for FB being NULL when solid fill is enabled. Changes in V2: - Changed