From patchwork Mon Aug 12 18:13:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TWFyZWsgT2zFocOhaw==?= X-Patchwork-Id: 2843242 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 9AEE19F271 for ; Mon, 12 Aug 2013 18:26:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FE9B20577 for ; Mon, 12 Aug 2013 18:26:54 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C120E20576 for ; Mon, 12 Aug 2013 18:26:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 973CEE770B for ; Mon, 12 Aug 2013 11:26:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by gabe.freedesktop.org (Postfix) with ESMTP id D003AE7642 for ; Mon, 12 Aug 2013 11:13:24 -0700 (PDT) Received: by mail-ee0-f52.google.com with SMTP id c41so3706416eek.25 for ; Mon, 12 Aug 2013 11:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=IJtHASq1b7XYKlZvgsg1SiWB4xnDEctbIDlNZZFzYaw=; b=ZUip+kzQm2PyD7lpze6kTwjyu6/OQUESmU5r3MTDaXvGjOEb9Y4VTYfGcydOF+VmtH o/ODresCfV+jc04SMrQfNG/MKZY1SufWb66QgsE/ZmyWQi3vOdoJun/QLrZuuIrCEAhj FYc7HJ8lTBaK+0uAUNK5Bz+b+yT6txrfqZMAeJ9GenViK9VEJxjUpRr5nlW4Ja41aYRD C1SG+GervR1V8gvc2p6uL5fwrfg8QwC9YNnphhSbhVUp3mXmbZdIQ1x2Wo/va+0p48HV 3GYTWtaUHuSjExxISA3j0lyCiPfht6nfURl6NEH4CzsW3AOP4jm8Lq97ZOedmYlsLDl9 dgkg== X-Received: by 10.15.41.77 with SMTP id r53mr340005eev.64.1376331204080; Mon, 12 Aug 2013 11:13:24 -0700 (PDT) Received: from localhost.localdomain ([194.228.11.33]) by mx.google.com with ESMTPSA id bn13sm59334449eeb.11.2013.08.12.11.13.23 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 11:13:23 -0700 (PDT) From: "=?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?=" To: dri-devel@lists.freedesktop.org Subject: [PATCH] radeon: add RADEON_TILING_R600_SCANOUT to radeon_drm.h Date: Mon, 12 Aug 2013 20:13:19 +0200 Message-Id: <1376331199-32604-1-git-send-email-marek.olsak@amd.com> X-Mailer: git-send-email 1.8.1.2 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 --- include/drm/radeon_drm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 86cef15..1e8713c 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -806,8 +806,9 @@ struct drm_radeon_gem_create { #define RADEON_TILING_MACRO 0x1 #define RADEON_TILING_MICRO 0x2 -#define RADEON_TILING_SWAP_16BIT 0x4 -#define RADEON_TILING_SWAP_32BIT 0x8 +#define RADEON_TILING_R600_SCANOUT 0x4 /* r600 and later */ +#define RADEON_TILING_SWAP_16BIT 0x4 /* r100-r500 */ +#define RADEON_TILING_SWAP_32BIT 0x8 /* r100-r500 */ /* this object requires a surface when mapped - i.e. front buffer */ #define RADEON_TILING_SURFACE 0x10 #define RADEON_TILING_MICRO_SQUARE 0x20