mirror of https://gitee.com/openkylin/linux.git
drm: rcar-du: Enable the atomic updates API
Set the DRIVER_ATOMIC flag to enable usage of the atomic updates API with the driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
3515a9a20a
commit
6dbe686b59
|
@ -252,7 +252,8 @@ static const struct file_operations rcar_du_fops = {
|
|||
};
|
||||
|
||||
static struct drm_driver rcar_du_driver = {
|
||||
.driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_PRIME,
|
||||
.driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_PRIME
|
||||
| DRIVER_ATOMIC,
|
||||
.load = rcar_du_load,
|
||||
.unload = rcar_du_unload,
|
||||
.preclose = rcar_du_preclose,
|
||||
|
|
Loading…
Reference in New Issue