Bug 5353 - Memory behind 128 MB should be made available ...
Summary: Memory behind 128 MB should be made available ...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
: 5475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-16 18:36 UTC by Aapo Tahkola
Modified: 2010-11-03 04:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch to grab some more (884 bytes, patch)
2005-12-16 18:41 UTC, Aapo Tahkola
Details | Splinter Review

Description Aapo Tahkola 2005-12-16 18:36:11 UTC
... if more is available.
Comment 1 Aapo Tahkola 2005-12-16 18:41:26 UTC
Created attachment 4104 [details] [review]
Patch to grab some more

textureSize is used by Xorg but nothing seems to depend on it.
Needs to be tasted with a change as suggested by Michel Dänzer (bug #5294).
Comment 2 Michel Dänzer 2005-12-16 19:59:12 UTC
As Dave pointed out on IRC, this also needs to handle the case where
CONFIG_MEMSIZE contains 0 (some M6 cards).
Comment 3 Alex Deucher 2005-12-17 05:19:00 UTC
we probably also ought to clean up the X messages so that we report the full
size on the card so X users don't complain when their 256 MB card only shows up
at 128 MB.  It probably makes sense to store the actual amount of ram detected
(rather than just the CPU addressable portion) in the radeon struct so that it
can be used elsewhere when needed.
Comment 4 Alex Deucher 2005-12-29 16:14:13 UTC
(In reply to comment #3)
> we probably also ought to clean up the X messages so that we report the full
> size on the card so X users don't complain when their 256 MB card only shows up
> at 128 MB.  It probably makes sense to store the actual amount of ram detected
> (rather than just the CPU addressable portion) in the radeon struct so that it
> can be used elsewhere when needed.

I've incorporated something lke this into my big radeon patch here:
http://www.botchco.com/alex/xorg/superpatch/
I can extract it out and provide a patch is need be.
Comment 5 Alex Deucher 2006-01-02 18:57:53 UTC
*** Bug 5475 has been marked as a duplicate of this bug. ***
Comment 6 Aapo Tahkola 2006-08-23 11:52:52 UTC
This still doesn't work right for my x850 pro.
Comment 7 Alex Deucher 2006-08-23 12:57:28 UTC
this should have been taken care of by benh's memmap fixes, unless your card has
sparse maps, then I guess you'd have to set up a GPU specific pool for textures
and such.
Comment 8 Michel Dänzer 2010-11-03 04:58:08 UTC
Fixed with KMS in current kernels.


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.