diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-08-23 18:34:25 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-27 10:46:54 +1000 |
commit | ece2be7993cc5e269cbf0cad6442b401a2c31915 (patch) | |
tree | fff6ae1334506dd41a4f84b95e3830b269f70d59 /drivers/gpu/drm/mga/mga_dma.c | |
parent | c9c97b8c75019814d8c007059bc827bb475be917 (diff) | |
download | op-kernel-dev-ece2be7993cc5e269cbf0cad6442b401a2c31915.zip op-kernel-dev-ece2be7993cc5e269cbf0cad6442b401a2c31915.tar.gz |
drm/mga: Use request_firmware() to load microcode
Image format is IHEX, one record for each pipe in order (record
addresses are ignored).
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mga/mga_dma.c')
-rw-r--r-- | drivers/gpu/drm/mga/mga_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mga/mga_dma.c b/drivers/gpu/drm/mga/mga_dma.c index 6c67a02..3c917fb 100644 --- a/drivers/gpu/drm/mga/mga_dma.c +++ b/drivers/gpu/drm/mga/mga_dma.c @@ -444,7 +444,7 @@ static int mga_do_agp_dma_bootstrap(struct drm_device * dev, { drm_mga_private_t *const dev_priv = (drm_mga_private_t *) dev->dev_private; - unsigned int warp_size = mga_warp_microcode_size(dev_priv); + unsigned int warp_size = MGA_WARP_UCODE_SIZE; int err; unsigned offset; const unsigned secondary_size = dma_bs->secondary_bin_count @@ -619,7 +619,7 @@ static int mga_do_pci_dma_bootstrap(struct drm_device * dev, { drm_mga_private_t *const dev_priv = (drm_mga_private_t *) dev->dev_private; - unsigned int warp_size = mga_warp_microcode_size(dev_priv); + unsigned int warp_size = MGA_WARP_UCODE_SIZE; unsigned int primary_size; unsigned int bin_count; int err; |