From patchwork Mon Aug 12 18:12:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWFyZWsgT2zFocOhaw==?= X-Patchwork-Id: 2843241 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 0EF2D9F271 for ; Mon, 12 Aug 2013 18:26:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A962202F6 for ; Mon, 12 Aug 2013 18:25:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 4C6212021A for ; Mon, 12 Aug 2013 18:25:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EEA6E76FD for ; Mon, 12 Aug 2013 11:25:58 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ea0-f179.google.com (mail-ea0-f179.google.com [209.85.215.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 77212E7642 for ; Mon, 12 Aug 2013 11:12:58 -0700 (PDT) Received: by mail-ea0-f179.google.com with SMTP id b10so3561058eae.38 for ; Mon, 12 Aug 2013 11:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=6wjOGsfFBMtoJDRR87lu1hX0KlcWVxgkaqleNbw8zRo=; b=b/wmZhCRwVytcEhX2T4d08yDFSAb+gXftuXV89a69p0cun3J1w5Yk5shoW+ppslxsW fMfjPBURsyQQSGa+Or2lXIaZOfJv51wPxkf1OPhWwhtbdIh+fENc66Z76EuHP8XJggeO Su1LeD3JIEEhq60Eq6I4tC/boIgc+w9peg7wPD2GGRF1va58MUNUmUi73QciZcpkv0+l LUFndWLVHDOgB8s/kdcrkq4aKbClLWLkEsw10HfDq63IR76n8YqaxDovjFIgxO0OseUb SEqjBRxKXmzk4JHJLCqdji/HvgKXqTjMdP4Vg3NT12y1l5U53XdWcS9au2jjBZ0T5Gv8 +N2g== X-Received: by 10.14.94.7 with SMTP id m7mr343153eef.40.1376331177113; Mon, 12 Aug 2013 11:12:57 -0700 (PDT) Received: from localhost.localdomain ([194.228.11.33]) by mx.google.com with ESMTPSA id j2sm59329156eep.6.2013.08.12.11.12.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 11:12:56 -0700 (PDT) From: "=?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?=" To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: add RADEON_TILING_R600_SCANOUT to radeon_drm.h Date: Mon, 12 Aug 2013 20:12:46 +0200 Message-Id: <1376331166-32550-1-git-send-email-marek.olsak@amd.com> X-Mailer: git-send-email 1.8.1.2 MIME-Version: 1.0 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: , 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 Signed-off-by: Marek Olšák --- include/uapi/drm/radeon_drm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 321d4ac..0b6740a 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/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