CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2015/02/22 06:09:46

Modified files:
        sys/dev/pci/drm/radeon: radeon_gart.c rs400.c 

Log message:
Give RS* IGP radeons a better chance of working thanks to Imre Vadasz
for debugging the problem on RS690 and coming up with an initial diff.

Align the gart table allocation to the size of the allocation (rounded
up to nearest page size by bus_dmamem_alloc).  Matches the behaviour of
the original Linux code's use of
pci_alloc_consistent()/dma_alloc_coherent().

Correct PAGE_MASK usage in rs400_gart_set_page().  Linux defines
PAGE_MASK to be (~(PAGE_SIZE - 1)) where as our kernel defines it as
(PAGE_SIZE - 1).  Most of the other occurances in the drm code have been
adjusted accordingly but this one seems to have been missed.

Reply via email to