Bug 19721

Summary: NetBSD/alpha specific functions don't work on ev6
Product: xorg Reporter: Manuel Bouyer <bouyer>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: Alpha   
OS: NetBSD   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Properly handle the case abw_count == 1 none

Description Manuel Bouyer 2009-01-24 09:04:25 UTC
Created attachment 22203 [details] [review]
Properly handle the case abw_count == 1

There is NetBSD-specific code in os-support/bsd/alpha_video.c.
This code doesn't work on ev6 systems. This is because the code assumes
there is 2 mappings, one dense and one sparse. On ev6 there's only one
mapping, and the code access abw[] out of bound.

Fix: check abw_count and if it's 1, use the same mapping for
dense_base and memory_base.
Comment 1 Eric Anholt 2009-02-01 09:26:55 UTC
commit 1375c1b07df114d864a0a06786bc75a3a4f65177
Author: Manuel Bouyer <bouyer@netbsd.org>
Date:   Sun Feb 1 09:12:21 2009 -0800

    netbsd: Fix alpha ev6 support.
    
    Bug #19721

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.