OSDN Git Service

Don't read scratch registers directly, obtain the values via the GET_PARAM
authorMichel Daenzer <michel@daenzer.net>
Thu, 11 Jul 2002 20:31:12 +0000 (20:31 +0000)
committerMichel Daenzer <michel@daenzer.net>
Thu, 11 Jul 2002 20:31:12 +0000 (20:31 +0000)
commitfd86ac9561dc77ef23e19d28723b40c72bdf1e97
tree4c1b91512341d46f5a2988ab6266fffa76edf14f
parent2ec9c15d8ce45d95ef395a4fff114109c908a572
Don't read scratch registers directly, obtain the values via the GET_PARAM
    ioctl. The DRM reads them from memory addresses the chip writes to on
    updates. Fall back to reading the registers directly with an old DRM.
(Tim Smith, cleanups by myself)
shared-core/radeon_cp.c
shared-core/radeon_drm.h
shared-core/radeon_state.c
shared/radeon_cp.c
shared/radeon_drm.h
shared/radeon_state.c