From patchwork Wed Feb 12 18:28:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 3639911 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 71636BF13A for ; Wed, 12 Feb 2014 18:30:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CD50D201ED for ; Wed, 12 Feb 2014 18:30:12 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0713F201D5 for ; Wed, 12 Feb 2014 18:30:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F211FAF60; Wed, 12 Feb 2014 10:30:07 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by gabe.freedesktop.org (Postfix) with ESMTP id D40FFFAF60 for ; Wed, 12 Feb 2014 10:30:04 -0800 (PST) Received: by mail-qc0-f172.google.com with SMTP id c9so16210631qcz.31 for ; Wed, 12 Feb 2014 10:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DjRM+xwBPBRc7F6mdxj09D5sqt1XhRy+vKAzdUidWPk=; b=uxR74kA/+5KwFEbceXdqXxkdTXFe+GdzR+jYLUxtYG+g5JTyl2EjXZRkxv4o0OTy55 bvjjKcA/0ij/ehE1ugE2hy4eKn9Gj3Bm9v1r4Mx6swVYnmwm3bwZuwUBNQ1tpgh9KYKE U0bawR2HurxERqFTXbk+u2PRdHJOjCF8IRo8pZhUQ2ty84sUekNODBpQ33R9mugdQ9vr KD1cn9SpHvnYjeatngEE7eSez5N6sUiLEBPTZ2/yLoloacv0MEw49yQnCkR1pQAnkMQU VYDUdeUtukiQ3FlCgLBaTuJAUvO6Q3BfhoYAumu+tFiVf6LOX+1bt+5zcuNzn/YYI+9q jC+g== X-Received: by 10.140.38.168 with SMTP id t37mr65939010qgt.33.1392229803437; Wed, 12 Feb 2014 10:30:03 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPSA id j50sm34778475qgf.14.2014.02.12.10.30.02 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2014 10:30:03 -0800 (PST) From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/radeon: fill in DRM_CAPs for cursor size Date: Wed, 12 Feb 2014 13:28:52 -0500 Message-Id: <1392229733-1379-2-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1392229733-1379-1-git-send-email-alexander.deucher@amd.com> References: <1392229733-1379-1-git-send-email-alexander.deucher@amd.com> Cc: Alex Deucher 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@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.7 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 CIK parts are 128x128, older parts are 64x64. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index d680608..fbd8b93 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -571,6 +571,8 @@ static void radeon_crtc_init(struct drm_device *dev, int index) radeon_crtc->max_cursor_width = CURSOR_WIDTH; radeon_crtc->max_cursor_height = CURSOR_HEIGHT; } + dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; + dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; #if 0 radeon_crtc->mode_set.crtc = &radeon_crtc->base;