From patchwork Wed Nov 26 18:10:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 5387221 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C12A9F2F5 for ; Wed, 26 Nov 2014 18:11:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A57220160 for ; Wed, 26 Nov 2014 18:11:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C17A720107 for ; Wed, 26 Nov 2014 18:11:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA3E96E674; Wed, 26 Nov 2014 10:11:08 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) by gabe.freedesktop.org (Postfix) with ESMTP id D14B76E66C for ; Wed, 26 Nov 2014 10:11:07 -0800 (PST) Received: by mail-qg0-f54.google.com with SMTP id q107so2389672qgd.41 for ; Wed, 26 Nov 2014 10:11:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SHkonjnsgfphIcQhmtXciI/o8RQmE3tvB91e7uVzB2c=; b=GQb8MeuWbMzZyqOgsU2JSGvx6kn1uLuX4SLImOYLKpj+eYPqJnAsvDFRXXaWpr6SLH AkwJXDBtpUXiClpzJW3bUeJBcfypaMAGF2i5i4xSAn0YjnepACCcAbI/7ciibEq6/Ybt Tr8M0TW43B4jpGzJKr/6e19KDvAxOX2nbnHe88Pk837RnyOk+YMi9pxXc5p936mePuxx AIrTaUUy/MlL0rq5y1jFXE/uY67w7CwXr5eQ8v7yu+kuzDWn8N357nCGjL3BmtsKSp8y OkP1IvcV1jICvJFkZmWGWwal+or4cX86BW7n1A42WIc/N3j+mo2gqgtX8MprIwoaqGA+ h/7A== X-Received: by 10.140.104.236 with SMTP id a99mr46862118qgf.56.1417025467281; Wed, 26 Nov 2014 10:11:07 -0800 (PST) Received: from localhost.localdomain ([191.8.93.69]) by mx.google.com with ESMTPSA id n8sm4483509qaz.40.2014.11.26.10.11.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Nov 2014 10:11:06 -0800 (PST) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/6] drm/exynos: Don't touch DPMS when updating overlay planes Date: Wed, 26 Nov 2014 16:10:49 -0200 Message-Id: <1417025454-3916-2-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1417025454-3916-1-git-send-email-gustavo@padovan.org> References: <1417025454-3916-1-git-send-email-gustavo@padovan.org> Cc: Gustavo Padovan , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan DPMS settings should only be changed by a full modeset. exynos_plane_update() should only care about updating the planes itself and nothing else. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.c b/drivers/gpu/drm/exynos/exynos_drm_plane.c index 843f741..4fe3c2b 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_plane.c +++ b/drivers/gpu/drm/exynos/exynos_drm_plane.c @@ -190,7 +190,6 @@ exynos_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, return ret; exynos_plane_commit(plane); - exynos_plane_dpms(plane, DRM_MODE_DPMS_ON); return 0; }