From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lemire Subject: [PATCH v2 0/1] drm/mgag200: Added resolution and bandwidth limits for various G200e products. Date: Wed, 26 Jun 2013 14:38:22 -0400 (EDT) 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 EADF1E6021 for ; Wed, 26 Jun 2013 11:38:23 -0700 (PDT) Received: from venus.matrox.com (venus.matrox.com [192.168.1.30]) by mtxmxout6.matrox.com (Postfix) with ESMTP id 2922657AB5 for ; Wed, 26 Jun 2013 14:38:23 -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 I am resubmitting this patch because I ran into a build error when trying to build it on a 32-bit system. I had to fix how the 64-bit division was done in mga_vga_calculate_mode_bandwidth. I used the do_div macro instead of doing the straight division. Julia Lemire (1): drm/mgag200: Added resolution and bandwidth limits for various G200e products. drivers/gpu/drm/mgag200/mgag200_drv.h | 3 +- drivers/gpu/drm/mgag200/mgag200_main.c | 2 +- drivers/gpu/drm/mgag200/mgag200_mode.c | 64 ++++++++++++++++++++++++++++++-- 3 files changed, 64 insertions(+), 5 deletions(-) -- 1.7.10.4