From owner-freebsd-x11@FreeBSD.ORG Sat Apr 15 13:17:43 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D04316A401 for ; Sat, 15 Apr 2006 13:17:43 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1E2943D48 for ; Sat, 15 Apr 2006 13:17:39 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k3FDHE1R067675; Sat, 15 Apr 2006 16:17:14 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 15 Apr 2006 16:17:14 +0300 (EEST) From: Dmitry Pryanishnikov To: Jonathan Fosburgh In-Reply-To: <200604141053.25611.jonathan@fosburgh.org> Message-ID: <20060415160559.B28900@atlantis.atlantis.dp.ua> References: <200604141053.25611.jonathan@fosburgh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-x11@freebsd.org Subject: Re: i915 DRM breakage in -CURRENT X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 13:17:43 -0000 Hello! On Fri, 14 Apr 2006, Jonathan Fosburgh wrote: > The recent DRM commit broke the DRM on my i915 card. After digging around > in > the drm sources I came across something that didn't seem right to me and > after changing it DRM works again. At the bottom of i915_dma.c there is a Thank you for digging for it. I've also noticed the breakage and reported it, but haven't got sufficient time for problem analysis. > so far the appearance feels right.) The only problem I see is the drm attach > message says it has 0MB instead of reporting the AGP aperture size of 256MB, > as I think it used to. > > agp0: on vgapci0 > agp0: detected 7932k stolen memory > agp0: aperture size is 256M > > drm0: on vgapci0 > info: [drm] AGP at 0xcfd00000 0MB > info: [drm] Initialized i915 1.4.0 20060119 Fom my ASUS M5A notebook (i915GM-based) reported AGP aperture size was also 0MB before the breakage (and DRM worked properly). Here is the diff between previous and current DRM: drm0: on vgapci0 -info: [drm] AGP at 0xfeb80000 0MB -info: [drm] Initialized i915 1.2.0 20041217 +error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP. +device_attach: drm0 attach returned 12 > Jonathan Fosburgh > AIX and Storage Administrator > UT MD Anderson Cancer Center > Houston, TX Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE