android_kernel_xiaomi_sm8350/drivers/gpu/drm
Dave Airlie 9863871bd1 drm/radeon: fix ring free alignment calculations
fd.o bz#21849

We were aligning to +16 dwords, instead of to the next 16dword
boundary in the ring. Fix the calculation to go to the next 16dword
boundary when space checking.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-06-04 09:14:28 +10:00
..
i810 drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
i830 drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
i915 drm: fix irq naming for kms drivers. 2009-06-04 09:14:07 +10:00
mga drm: Make drm_local_map use a resource_size_t offset 2009-03-13 14:23:57 +10:00
r128 drm/r128: fix r128 ioremaps to use ioremap_wc. 2009-05-06 09:04:52 +10:00
radeon drm/radeon: fix ring free alignment calculations 2009-06-04 09:14:28 +10:00
savage drm: Use resource_size_t for drm_get_resource_{start, len} 2009-03-13 14:23:56 +10:00
sis
tdfx
via drm: count reaches -1 2009-04-20 09:28:20 +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
drm_auth.c
drm_bufs.c drm: Round size of SHM maps to PAGE_SIZE 2009-05-19 15:35:33 -07:00
drm_cache.c
drm_context.c drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
drm_crtc_helper.c drm/kms: don't try to shortcut drm mode set function 2009-04-24 14:47:00 +10:00
drm_crtc.c
drm_debugfs.c drm: Convert proc files to seq_file and introduce debugfs 2009-03-27 15:12:00 -07:00
drm_dma.c
drm_drawable.c
drm_drv.c drm: Copy back ioctl data to userspace regardless of return code. 2009-05-20 11:41:41 -07:00
drm_edid.c drm: fix EDID backward compat check 2009-04-03 09:21:46 +10:00
drm_fops.c drm: drm_fops.c unlock missing on error path 2009-03-29 18:31:47 +10:00
drm_gem.c drm: Use pgprot_writecombine in GEM GTT mapping to get the right bits for !PAT. 2009-04-02 14:28:32 -07:00
drm_hashtab.c
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_irq.c drm: fix irq naming for kms drivers. 2009-06-04 09:14:07 +10:00
drm_lock.c
drm_memory.c drm: Split drm_map and drm_local_map 2009-03-13 14:23:56 +10:00
drm_mm.c
drm_modes.c
drm_pci.c
drm_proc.c drm: Convert proc files to seq_file and introduce debugfs 2009-03-27 15:12:00 -07:00
drm_scatter.c
drm_sman.c
drm_stub.c drm: cleanup properly in drm_get_dev() failure paths 2009-04-24 15:09:25 +10:00
drm_sysfs.c drm: remove unreachable code in drm_sysfs.c 2009-04-24 15:06:36 +10:00
drm_vm.c drm: Make drm_local_map use a resource_size_t offset 2009-03-13 14:23:57 +10:00
Kconfig ACPI, i915: build fix (v2) 2009-05-29 21:26:38 -04:00
Makefile drm: Convert proc files to seq_file and introduce debugfs 2009-03-27 15:12:00 -07: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