Messages in this thread | | | Subject | Re: [PATCH v6 2/9] drm/omap: Add ability to check if requested plane modes can be supported | From | Tomi Valkeinen <> | Date | Wed, 27 Oct 2021 11:34:21 +0300 |
| |
On 18/10/2021 17:28, Neil Armstrong wrote: > From: Benoit Parrot <bparrot@ti.com> > > We currently assume that an overlay has the same maximum width and > maximum height as the overlay manager. This assumption is incorrect. On > some variants the overlay manager maximum width is twice the maximum > width that the overlay can handle. We need to add the appropriate data > per variant as well as export a helper function to retrieve the data so > check can be made dynamically in omap_plane_atomic_check(). > > Signed-off-by: Benoit Parrot <bparrot@ti.com> > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > --- > drivers/gpu/drm/omapdrm/dss/dispc.c | 22 ++++++++++++++++++++++ > drivers/gpu/drm/omapdrm/dss/dss.h | 2 ++ > drivers/gpu/drm/omapdrm/omap_plane.c | 14 ++++++++++++++ > 3 files changed, 38 insertions(+)
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Tomi
| |