[PATCH 5/7] drm/omap: set DRIVER_ATOMIC for omapdrm
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sun Dec 13 12:34:27 PST 2015
Hi Tomi,
Thank you for the patch.
On Wednesday 09 December 2015 17:38:09 Tomi Valkeinen wrote:
> omapdrm supports atomic modesetting, and it seems to work ok. So let's
> set the flag to enable the atomic modesetting API support.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> drivers/gpu/drm/omapdrm/omap_drv.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c
> b/drivers/gpu/drm/omapdrm/omap_drv.c index c93c13e2c22d..06e9c9193309
> 100644
> --- a/drivers/gpu/drm/omapdrm/omap_drv.c
> +++ b/drivers/gpu/drm/omapdrm/omap_drv.c
> @@ -858,7 +858,8 @@ static const struct file_operations omapdriver_fops = {
> };
>
> static struct drm_driver omap_drm_driver = {
> - .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
> + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME |
> + DRIVER_ATOMIC,
> .load = dev_load,
> .unload = dev_unload,
> .open = dev_open,
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list