From patchwork Fri Dec 21 02:34:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 1901811 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id CF960DF23A for ; Fri, 21 Dec 2012 02:34:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AD184E6748 for ; Thu, 20 Dec 2012 18:34:30 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by gabe.freedesktop.org (Postfix) with ESMTP id 45159E6090 for ; Thu, 20 Dec 2012 18:34:18 -0800 (PST) Received: by mail-vc0-f180.google.com with SMTP id p16so4615466vcq.11 for ; Thu, 20 Dec 2012 18:34:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=Khy3GtMbS8bPm8v1GjXg/kz45b+pIclsQgVIo1PvFH0=; b=VPNmEfHuNd82zWW5HpBljsSA112I8IuPM8gN7qzXPUoT7HQgys5AO69xsvDpqNdxmQ 0z0iX4V1EeHPjVPnRmlSjCbOvzbjoxo5aahK3bAIS5rnxRNoOVpBN+Cf2vMYlpkfj+N4 i58H6vhDsthK79SA0qyOrPFYPyvL6TQqRwLmU8pWoQro4uB5OAXrKl6xwy72Kgrhi30y Nshci3pbmBDogwwHlHkvaXgwBPbuCym9xjnb3+woK567vV48VPnH6CaEXrpNiIzEdTYy 8p8JJ0Sam6xe5R81vt8zuUP3OBMgPWJcavkHe2PP8vA1S1q/25S+orG17zo08DmnLuf6 LP2Q== X-Received: by 10.52.174.109 with SMTP id br13mr15253120vdc.23.1356057257502; Thu, 20 Dec 2012 18:34:17 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id ly6sm3566196veb.3.2012.12.20.18.34.15 (version=SSLv3 cipher=OTHER); Thu, 20 Dec 2012 18:34:16 -0800 (PST) From: alexdeucher@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: add WAIT_UNTIL to evergreen VM safe reg list Date: Thu, 20 Dec 2012 21:34:10 -0500 Message-Id: <1356057250-8564-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher , stable@vger.kernel.org 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 From: Alex Deucher It's used in a recent mesa commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a and there may be some other cases in the future where it's required. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/evergreen_cs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c index 5cea852..7a44566 100644 --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -3316,6 +3316,7 @@ static bool evergreen_vm_reg_valid(u32 reg) /* check config regs */ switch (reg) { + case WAIT_UNTIL: case GRBM_GFX_INDEX: case CP_STRMOUT_CNTL: case CP_COHER_CNTL: