Thomas Zimmermann <tzimmerm...@suse.de> writes: > Merge the primary plane code of ofdrm and simpledrm. Replace the > plane implementation in each driver with the shared helpers. Set > up driver callbacks and format modifiers with initializer macros. > > The plane code in ofdrm and simpledrm is very similar. Ofdrm has a > more sophisticated implementation of atomic_disable, which clears > individual scanlines. The code in simpledrm clears the whole buffer > at once. Take the ofdrm version. > > Simpledrm supports get_scanout_buffer. Import it into the shared > helpers, which makes it available in ofdrm. > > The supported formats are all native formats plus an optional enulated > XRGB8888 if that's not already a native format. Provide an initializer > macro that computes the size of the formats array. > > Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> > ---
Reviewed-by: Javier Martinez Canillas <javi...@redhat.com> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat