summaryrefslogtreecommitdiff
path: root/bsd/tdfx/Makefile
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-05-22 04:36:33 +0000
committerIan Romanick <idr@us.ibm.com>2005-05-22 04:36:33 +0000
commit955791f0645d4b61bd20d817c532dda3a40aaddd (patch)
tree0bbe4af4013db83d8a952d05691c9b17bdb9c6c6 /bsd/tdfx/Makefile
parent75cb43ccd73dd2c8c196d209862b8a3ea4e433cb (diff)
Refactor the routines for "calculating" the size of the WARP microcode. The
two routines (one for G200 and one for G400) were replaced with static const variables and a single function that returns the correct size. The code to generate an error if the allocated WARP region is too small was refactored from mga_warp_install_{g200,g400}_microcode to mga_wrap_install_microcode. mga_warp_microcode_size is global to the MGA DRM because it will soon be used by code in another file.
Diffstat (limited to 'bsd/tdfx/Makefile')
0 files changed, 0 insertions, 0 deletions