WSL2-Linux-Kernel/drivers/gpu/drm
Ben Hutchings 70967ab9c0 radeon: Use request_firmware()
Loosely based on a patch by
Jaswinder Singh Rajput <jaswinderlinux@gmail.com>.

KMS support by Dave Airlie <airlied@redhat.com>.

For Radeon 100- to 500-series, firmware blobs look like:
    struct {
        __be32 datah;
        __be32 datal;
    } cp_ucode[256];

For Radeon 600-series, there are two separate firmware blobs:
    __be32 me_ucode[PM4_UCODE_SIZE * 3];
    __be32 pfp_ucode[PFP_UCODE_SIZE];

For Radeon 700-series, likewise:
    __be32 me_ucode[R700_PM4_UCODE_SIZE];
    __be32 pfp_ucode[R700_PFP_UCODE_SIZE];

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-31 09:09:30 +10:00
..
i810 drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i830 drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915 drm: GEM handles are u32, not int 2009-08-27 11:21:08 +10:00
mga drm/mga: Use request_firmware() to load microcode 2009-08-27 10:46:54 +10:00
r128 drm/r128: Use request_firmware() to load CCE microcode 2009-08-27 10:47:00 +10:00
radeon radeon: Use request_firmware() 2009-08-31 09:09:30 +10:00
savage drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
sis drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
tdfx drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
ttm drm/ttm: consolidate cache flushing code in one place. 2009-08-27 09:53:47 +10:00
via drm/via: Fix vblank IRQ on VIA hardware. 2009-07-15 16:00:07 +10:00
Kconfig radeon: Use request_firmware() 2009-08-31 09:09:30 +10:00
Makefile drm/kms: slave encoder interface. 2009-08-04 14:10:51 +10:00
README.drm drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
ati_pcigart.c drm/ati_pcigart: use memset_io to reset the memory 2009-03-13 14:24:14 +10:00
drm_agpsupport.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
drm_auth.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_bufs.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_cache.c drm/ttm: consolidate cache flushing code in one place. 2009-08-27 09:53:47 +10:00
drm_context.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_crtc.c Merge Linus master to drm-next 2009-08-20 13:38:04 +10:00
drm_crtc_helper.c drm/crtc_helper: NULL encoder->crtc when switching encoders 2009-08-31 09:09:29 +10:00
drm_debugfs.c drm: drm_debugfs, check kmalloc retval 2009-07-15 15:55:37 +10:00
drm_dma.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_drawable.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_drv.c drm: remove root requirement from DRM_IOCTL_SET_VERSION (+ DRM_IOCTL_AUTH_MAGIC) 2009-08-19 15:51:55 +10:00
drm_edid.c Merge Linus master to drm-next 2009-08-20 13:38:04 +10:00
drm_encoder_slave.c drm: fixup include file in drm_encoder_slave 2009-08-13 13:31:54 +10:00
drm_fops.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_gem.c drm: GEM handles are u32, not int 2009-08-27 11:21:08 +10:00
drm_hashtab.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_info.c drm: merge Linux master into HEAD 2009-03-28 20:22:18 -04:00
drm_ioc32.c drm: Only use DRM_IOCTL_UPDATE_DRAW compat wrapper for compat X86. 2009-03-13 14:24:04 +10:00
drm_ioctl.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_irq.c drm: silence pointless vblank warning. 2009-08-09 12:24:01 +10:00
drm_lock.c drm: Avoid client deadlocks when the master disappears. 2009-03-03 09:50:20 +10:00
drm_memory.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
drm_mm.c drm: Apply "Memory fragmentation from lost alignment blocks" 2009-06-19 09:01:12 +10:00
drm_modes.c Merge Linus master to drm-next 2009-08-20 13:38:04 +10:00
drm_pci.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_proc.c drm: dereference of tmp in drm_proc_create_files() 2009-08-31 09:09:29 +10:00
drm_scatter.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_sman.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
drm_stub.c drm: Move a dereference below a NULL test 2009-07-15 16:56:48 +10:00
drm_sysfs.c drm: Enable drm drivers to add drm sysfs devices. 2009-08-19 16:08:51 +10:00
drm_vm.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00

README.drm

************************************************************
* For the very latest on DRI development, please see:      *
*     http://dri.freedesktop.org/                          *
************************************************************

The Direct Rendering Manager (drm) is a device-independent kernel-level
device driver that provides support for the XFree86 Direct Rendering
Infrastructure (DRI).

The DRM supports the Direct Rendering Infrastructure (DRI) in four major
ways:

    1. The DRM provides synchronized access to the graphics hardware via
       the use of an optimized two-tiered lock.

    2. The DRM enforces the DRI security policy for access to the graphics
       hardware by only allowing authenticated X11 clients access to
       restricted regions of memory.

    3. The DRM provides a generic DMA engine, complete with multiple
       queues and the ability to detect the need for an OpenGL context
       switch.

    4. The DRM is extensible via the use of small device-specific modules
       that rely extensively on the API exported by the DRM module.


Documentation on the DRI is available from:
    http://dri.freedesktop.org/wiki/Documentation
    http://sourceforge.net/project/showfiles.php?group_id=387
    http://dri.sourceforge.net/doc/

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://dri.sourceforge.net/doc/drm_low_level.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/hardware_locking_low_level.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/security_low_level.html