From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Harvey Subject: [PATCH 0/3] mgag200: bug fix, cleanup and managed devices Date: Fri, 5 Apr 2013 12:26:49 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mtxmxout6.matrox.com (mtxmxout6.matrox.com [138.11.2.96]) by gabe.freedesktop.org (Postfix) with ESMTP id D1C6AE5C02 for ; Fri, 5 Apr 2013 09:31:16 -0700 (PDT) Received: from mars.matrox.com (mars.matrox.com [192.168.1.29]) by mtxmxout6.matrox.com (Postfix) with ESMTP id 09C291D759E for ; Fri, 5 Apr 2013 12:31:16 -0400 (EDT) Received: (from ssmsp@localhost) by mars.matrox.com (8.14.4/8.13.2) id r35GVFPw011866 for dri-devel@lists.freedesktop.org; Fri, 5 Apr 2013 12:31:15 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mars.matrox.com (Postfix) with ESMTP id 8BD3B9521B for ; Fri, 5 Apr 2013 12:31:15 -0400 (EDT) Received: from pluton.matrox.com (pluton.matrox.com [192.168.8.7]) by mars.matrox.com (Postfix) with ESMTP id 6849C9520B for ; Fri, 5 Apr 2013 12:31:15 -0400 (EDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Mathieu Larouche List-Id: dri-devel@lists.freedesktop.org Patch one is a simple bug fix for G200ER cards. Patch two doesn't change any code Patch three makes the mgag200 driver use managed devices where possible. I'm not too sure how to test this one properly, other than to just boot a bunch of boards and stare at the code changes for a long while. Any testing hints are appreciated. Christopher Harvey (3): drm/mgag200: Index 24 in extended CRTC registers is 24 in hex, not decimal. drm: Misc comment cleanup drm/mgag200: Convert to managed device resources where possible drivers/gpu/drm/mgag200/mgag200_drv.h | 6 +++--- drivers/gpu/drm/mgag200/mgag200_fb.c | 9 +++------ drivers/gpu/drm/mgag200/mgag200_main.c | 29 +++++------------------------ drivers/gpu/drm/mgag200/mgag200_mode.c | 13 +++---------- include/drm/drm_crtc.h | 2 +- include/uapi/drm/drm_mode.h | 6 +++--- 6 files changed, 18 insertions(+), 47 deletions(-) -- 1.7.12.4