From patchwork Thu Jan 7 13:30:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 59281 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp551286lbb; Thu, 7 Jan 2016 05:31:08 -0800 (PST) X-Received: by 10.67.22.97 with SMTP id hr1mr138809264pad.49.1452173465876; Thu, 07 Jan 2016 05:31:05 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id wk6si9092332pac.91.2016.01.07.05.31.05; Thu, 07 Jan 2016 05:31:05 -0800 (PST) Received-SPF: pass (google.com: domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23A4E6E670; Thu, 7 Jan 2016 05:31:04 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D3126E66D for ; Thu, 7 Jan 2016 05:31:03 -0800 (PST) Received: by mail-wm0-f50.google.com with SMTP id b14so123394170wmb.1 for ; Thu, 07 Jan 2016 05:31:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3j1V/dcpj/MRbn+2bgcdC66dGrutRNzX5xErgkLQB3k=; b=NZz8ZTcbpXtgqYesw7N4p7vFzG+nhNo8pY6/iGkoB8rA6YXbcP9+NvW2pjATYehRZz eBVnG5OV2wm60MsaeqF8QbdmEg/fd81pAhMpnt1v0VabNBLcfpRzltwrvP5qNvJdU+nw Z6figw4LVS+Ka6Rfet5SdVEe71PD365xchYCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3j1V/dcpj/MRbn+2bgcdC66dGrutRNzX5xErgkLQB3k=; b=lkslqijV8rNBqwq1jip1U0i9a/K5nmO+giyU75o1nBxPkKtwlyEE8KhgrHM3lSfkTP DfZMK2lcJ3jGd+8Br8ioAKum0j/8BmBeYkruQN6WFPO+KzUTCx1L9WkRpiYDzRJ8TkQ9 K/kbe7JRvLUjQrakNK4+EIF/n5wz0UNQTnNY7vIDTRz68rr0PiHvYTMnoEmHFjpQOzuD lCLWUGFtv6XqixZyMZN1ekcUXnnMKf+LjqQ2UVeEh31PPwk4ddYIu0W+9XCra7V4Uyug ld/aC7y6qTs9D5mWxj9kfz8+oo12kRiuHwwYRRxwE0eWa1qqWfD1Pzn08MtNRUTKmKWT YuYw== X-Gm-Message-State: ALoCoQlZBwsgjTfNvAc7LC5a9i1uMB9dXD+It4qBE51a0FaNExSHGlcSp5lQwGD5nhLiVFCi0FII3poi03mpjkL3hGYB5kkb+g== X-Received: by 10.28.177.10 with SMTP id a10mr16286049wmf.4.1452173462104; Thu, 07 Jan 2016 05:31:02 -0800 (PST) Received: from LMENX321.lme.st.com (LPuteaux-656-1-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by smtp.gmail.com with ESMTPSA id i2sm11863922wjx.42.2016.01.07.05.31.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 05:31:01 -0800 (PST) From: Benjamin Gaignard To: dri-devel@lists.freedesktop.org, vincent.abriou@st.com, fabien.dessenne@st.com Subject: [PATCH 3/5] drm: sti: set CRTC modesetting parameters Date: Thu, 7 Jan 2016 14:30:39 +0100 Message-Id: <1452173441-30033-4-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452173441-30033-1-git-send-email-benjamin.gaignard@linaro.org> References: <1452173441-30033-1-git-send-email-benjamin.gaignard@linaro.org> Cc: Benjamin Gaignard 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" Set CRTC modesetting parameters to avoid warnings in atomic mode. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_crtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c index de11c7c..505620c 100644 --- a/drivers/gpu/drm/sti/sti_crtc.c +++ b/drivers/gpu/drm/sti/sti_crtc.c @@ -56,6 +56,7 @@ static bool sti_crtc_mode_fixup(struct drm_crtc *crtc, struct drm_display_mode *adjusted_mode) { /* accept the provided drm_display_mode, do not fix it up */ + drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V); return true; }