* actually set device_chipset before reading it.

* make shared memory info naming clearer.
* move frame buffer internal offset read to driver
* remove check of > 512MB as we really should always use frame_buffer_size


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41569 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-05-18 18:38:28 +00:00
parent c2069a9a2e
commit 90af954387
3 changed files with 28 additions and 22 deletions
@@ -74,16 +74,19 @@ struct radeon_shared_info {
uint8* status_page;
addr_t physical_status_page;
uint8* graphics_memory;
addr_t physical_graphics_memory;
uint32 graphics_memory_size;
uint32 graphics_aperture_size;
addr_t frame_buffer_base; // map base of frame buffer
addr_t frame_buffer_phys; // card PCI BAR address of FB
uint32 frame_buffer_int; // card internal offset of FB
uint32 frame_buffer_size; // card internal FB aperture size
uint32 frame_buffer_pci; // physical PCI address of FB
uint32 frame_buffer_offset; // offset within FB (pri vs sec)
bool has_edid;
edid1_info edid_info;
addr_t frame_buffer;
uint32 frame_buffer_offset;
struct lock accelerant_lock;
struct lock engine_lock;