* rename graphics_memory to frame_buffer. lets keep consistant

* pass mapped frame buffer area id to accelerant
* remove my temporary hacked together frame buffer memory mapping
* completely rely on PCI BAR for now for aperture size / location instead of
  R6XX_CONFIG_FB_BASE reg.
* Remove my temporary AllocateFB function.
* set grphPrimarySurfaceAddr to physical memory frame buffer location (offset 0)
* fix P/N sync setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41722 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV
2011-05-24 22:08:54 +00:00
parent 901c33fcd0
commit 3be5e03652
3 changed files with 29 additions and 61 deletions
@@ -73,14 +73,12 @@ struct radeon_shared_info {
area_id registers_area; // area of memory mapped registers
uint8* status_page;
addr_t physical_status_page;
uint8* graphics_memory;
uint32 graphics_memory_size;
addr_t frame_buffer_phys; // card PCI BAR address of FB
uint32 frame_buffer_int; // card internal offset of FB
area_id frame_buffer_area; // area of memory mapped FB
uint32 frame_buffer_size; // card internal FB aperture size
uint32 frame_buffer_offset; // current offset within FB
uint32 frame_buffer_free; // free space in framebuffer
uint8* frame_buffer; // virtual memory mapped FB
bool has_edid;
edid1_info edid_info;