From patchwork Fri Oct 19 17:28:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 1619411 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 81F913FD9C for ; Fri, 19 Oct 2012 17:29:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FBD2A0DB5 for ; Fri, 19 Oct 2012 10:29:54 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by gabe.freedesktop.org (Postfix) with ESMTP id CEBAEA0D9A for ; Fri, 19 Oct 2012 10:28:43 -0700 (PDT) Received: by mail-vb0-f49.google.com with SMTP id fo1so740712vbb.36 for ; Fri, 19 Oct 2012 10:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=QvKWxoxsriAtQWNlQeBFj2LedYCIwl+hm8VWSwUWC1U=; b=b7GXaJH3i3pmXMRCdYFnFqDDqecQbwD3I/kW7zcgwWZDLVD75hwUJag+f/wpYAeAtI atQsJHKvtB29Hq/OfBt7+RCmbrt5o8C7M5Hf9Ze4zK2SS6p5Jg1Gb7y7jLhwbKC55CTP xJ6Frb3pt1JshQ526SMbpsm68qUEtSPa6fYwz8ShMBhzNqIDeRPw2dJj91iC2F40TXEw YYvrG+koA6gWLqZPFgEww8+H/9crUQQIaYeL0K09ecGahxsNkVfPUaOrx65FO0Cjfh6f u84u43W10h7Wxi1FBxEi3LAG3992+Mtd/qNGwObjb/0lx/wC5gaGCstQv8WHb9PR2qvK yp5g== Received: by 10.221.1.75 with SMTP id np11mr2506222vcb.56.1350667723239; Fri, 19 Oct 2012 10:28:43 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id y7sm2050317vdt.1.2012.10.19.10.28.41 (version=SSLv3 cipher=OTHER); Fri, 19 Oct 2012 10:28:42 -0700 (PDT) From: alexdeucher@gmail.com To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: add error output if VM CS fails on cayman Date: Fri, 19 Oct 2012 13:28:30 -0400 Message-Id: <1350667710-20308-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 So we know why the CS was rejected. Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- 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 573ed1b..30271b64 100644 --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -2829,6 +2829,7 @@ static bool evergreen_vm_reg_valid(u32 reg) case CAYMAN_SQ_EX_ALLOC_TABLE_SLOTS: return true; default: + DRM_ERROR("Invalid register 0x%x in CS\n", reg); return false; } }