From patchwork Sat Aug 15 16:26:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 7021061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4D4AA9F39D for ; Sat, 15 Aug 2015 16:26:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 79C06206DB for ; Sat, 15 Aug 2015 16:26:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C97A206E0 for ; Sat, 15 Aug 2015 16:26:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753922AbbHOQ0l (ORCPT ); Sat, 15 Aug 2015 12:26:41 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:34073 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753216AbbHOQ0l (ORCPT ); Sat, 15 Aug 2015 12:26:41 -0400 Received: by ykdt205 with SMTP id t205so93020014ykd.1 for ; Sat, 15 Aug 2015 09:26:40 -0700 (PDT) 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=Zw5GaRy0IepzWG1sWuqP5CnC4g6+IJysBCfe4eCMh3U=; b=fGRXIGdpfzXx9p5IBPc1U673ZE5u+jHc3jnwonH19zGoMX8aIn2iI2/OC7Xhz70J2H J3V4oXt8eGSL8R5rj484natxkPpBkHx6Fi91NThu6EHClOH3fIi4BOiyaKdYit4f4kiJ GRXoKph+e0mozQwkcwKE35hiKj7lIFFaOna8calJP2B0oiD5uCsUK5d5m/pH2yUYG5cr t6SxFGCaGijyUR0O6e8wpYDnc4mE8vBPnrY9/0vndU4tbFVYI8l947A+QDaI9O59H99H sHePtG7okcro+bWOetLCbMdhOBawWi6pK5w01qLi3YENVogNU56hyvGp+DnM2EZqLlKp W4VA== X-Received: by 10.129.146.68 with SMTP id j65mr39357116ywg.71.1439656000758; Sat, 15 Aug 2015 09:26:40 -0700 (PDT) Received: from jade.localdomain ([187.64.235.140]) by smtp.gmail.com with ESMTPSA id m132sm8636775ywb.34.2015.08.15.09.26.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Aug 2015 09:26:40 -0700 (PDT) From: Gustavo Padovan To: linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, jy0922.shim@samsung.com, tjakobi@math.uni-bielefeld.de, Gustavo Padovan Subject: [PATCH 06/11] drm/exynos: add macro to get the address of START_S reg Date: Sat, 15 Aug 2015 13:26:15 -0300 Message-Id: <1439655980-32146-7-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1439655980-32146-1-git-send-email-gustavo@padovan.org> References: <1439655980-32146-1-git-send-email-gustavo@padovan.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 This macro is need to get the value of the START shadow register, that will tell if an framebuffer is currently displayed on the screen or not. Signed-off-by: Gustavo Padovan --- include/video/samsung_fimd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index 0530e5a..d8fc96e 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h @@ -296,6 +296,7 @@ /* Video buffer addresses */ #define VIDW_BUF_START(_buff) (0xA0 + ((_buff) * 8)) +#define VIDW_BUF_START_S(_buff) (0x40A0 + ((_buff) * 8)) #define VIDW_BUF_START1(_buff) (0xA4 + ((_buff) * 8)) #define VIDW_BUF_END(_buff) (0xD0 + ((_buff) * 8)) #define VIDW_BUF_END1(_buff) (0xD4 + ((_buff) * 8))