Bug 19721 - NetBSD/alpha specific functions don't work on ev6
Summary: NetBSD/alpha specific functions don't work on ev6
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.3 (2007.09)
Hardware: Alpha NetBSD
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 09:04 UTC by Manuel Bouyer
Modified: 2009-02-01 09:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Properly handle the case abw_count == 1 (1.03 KB, patch)
2009-01-24 09:04 UTC, Manuel Bouyer
no flags Details | Splinter Review

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.