[haiku-commits] Re: r36330 - haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon_hd

  • From: "Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 16 Apr 2010 17:38:10 +0300

Am 16.04.2010, 18:35 Uhr, schrieb Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

clemens.zeidler@xxxxxxxxxxxxxx wrote:
+       // Turn on write combining for the area
+       vm_set_area_memory_type(info.framebuffer_area,
+               info.pci->u.h0.base_registers[RHD_FB_BAR], B_MTR_WC);

You can directly pass the B_MTR_WC as area flag, btw (but then the area
creation call might fail if write combining is not possible).

ok, I just copied it from the vesa driver.
        Clemens


--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

Other related posts: