drm/radeon: refactor set_page chipset interface v5
authorChristian König <deathsimple@vodafone.de>
Mon, 17 Sep 2012 17:36:18 +0000 (19:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2012 14:22:43 +0000 (10:22 -0400)
commitdce34bfd633d23ebddb196af8a4fa1c93c90ed07
treecb081ac92a8b5beeb43b4d70a51e977102f9d870
parentaf026c5bd14cb57b230a63bdee6f73677a06f010
drm/radeon: refactor set_page chipset interface v5

Cleanup the interface in preparation for hierarchical page tables.

v2: add incr parameter to set_page for simple scattered PTs uptates
    added PDE-specific flags to r600_flags and radeon_drm.h
    removed superfluous value masking with 0xffffffff

v3: removed superfluous bo_va->valid checking
    changed R600_PTE_VALID to R600_ENTRY_VALID to handle PDE too

v4 (ck): fix indention style, rework and fix typos in commit message,
         add documentation for incr parameter, also use incr
         parameter for system pages

v5 (agd5f): use upper_32_bits() and minor white space fixes

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Dmitry Cherkassov <Dmitrii.Cherkasov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_gart.c