Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86d429c1 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm: enable DRM_MODE_FB_SECURE in drm framebuffer create" into msm-4.9

parents e0224a04 9c33a2cf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -311,7 +311,8 @@ drm_internal_framebuffer_create(struct drm_device *dev,
	struct drm_framebuffer *fb;
	int ret;

	if (r->flags & ~(DRM_MODE_FB_INTERLACED | DRM_MODE_FB_MODIFIERS)) {
	if (r->flags & ~(DRM_MODE_FB_INTERLACED | DRM_MODE_FB_MODIFIERS |
			DRM_MODE_FB_SECURE)) {
		DRM_DEBUG_KMS("bad framebuffer flags 0x%08x\n", r->flags);
		return ERR_PTR(-EINVAL);
	}