From 0bea6bb7a86ddf1442314a6a82c7224f8e1cbe7a Mon Sep 17 00:00:00 2001 From: bross1_kuo Date: Wed, 6 Oct 2021 16:00:41 +0800 Subject: [PATCH] Revert "drm/rockchip: modify rockchip_gem_create_object()'s paremeter in rockchip_gem_create_with_handle()" This reverts commit 23a2a8ec12f40ce02f5941c25d8b31a6b456455d. Change-Id: I86f553487f442664b310232f3b2b11e49f390640 --- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c index d2b93939e064..273a52b5eb66 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c @@ -676,7 +676,7 @@ rockchip_gem_create_with_handle(struct drm_file *file_priv, struct drm_gem_object *obj; int ret; - rk_obj = rockchip_gem_create_object(drm, size, true, flags); + rk_obj = rockchip_gem_create_object(drm, size, false, flags); if (IS_ERR(rk_obj)) return ERR_CAST(rk_obj);