kernel-hacking-2024-linux-s.../drivers/gpu/drm
Daniel Vetter 3d535eddf2 drm/cirrus: Remove unecessary NULL check in gem_free
The ->gem_free_object never gets called with a NULL pointer, the check
is redundant. Also checking after the upcast allows compilers to elide
it anyway.

Spotted by coverity.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-22 15:39:07 +02:00
..
armada DRM: armada: fix corruption while loading cursors 2014-04-08 10:51:03 +10:00
ast drm/ast: fix value check in cbr_scan2 2014-04-18 13:18:01 +10:00
bochs drm: bochs: drop unused struct fields 2014-04-18 13:31:50 +10:00
bridge drm/bridge: export ptn3460_init function 2014-04-04 21:24:50 +09:00
cirrus drm/cirrus: Remove unecessary NULL check in gem_free 2014-04-22 15:39:07 +02:00
exynos Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
gma500 Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
i2c
i810
i915 Merge branch 'drm-next-3.15-wip' of git://people.freedesktop.org/~deathsimple/linux into drm-next 2014-04-19 11:16:02 +10:00
mga
mgag200 drm/mgag200: Remove unecessary NULL check in gem_free 2014-04-22 15:39:04 +02:00
msm Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
nouveau drm/nouveau/bios: fix a bit shift error introduced by 457e77b 2014-04-18 13:15:18 +10:00
omapdrm drm/omap: fix the handling of fb ref counts 2014-04-15 16:40:01 +03:00
panel drm/panel: Changes for v3.15-rc1 2014-04-05 16:12:27 +10:00
qxl drm/ttm: Hide the implementation details of reservation 2014-04-04 08:00:59 +02:00
r128
radeon Merge branch 'drm-next-3.15-wip' of git://people.freedesktop.org/~deathsimple/linux into drm-next 2014-04-19 11:16:02 +10:00
rcar-du drm/rcar-du: Handle encoder initialization failures 2014-04-04 08:02:54 +10:00
savage
shmobile drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
sis
tdfx
tegra drm/tegra: dp: Support address-only I2C-over-AUX transactions 2014-04-08 16:12:36 +02:00
tilcdc drm: Replace crtc fb with primary plane fb (v3) 2014-04-01 20:18:28 -04:00
ttm Merge tag 'ttm-next-2014-04-04' of git://people.freedesktop.org/~thomash/linux into drm-next 2014-04-05 16:07:39 +10:00
udl Merge tag 'drm-intel-fixes-2014-04-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-04-05 16:14:21 +10:00
via
vmwgfx drm/vmwgfx: correct fb_fix_screeninfo.line_length 2014-04-03 09:34:06 +02:00
ati_pcigart.c
drm_agpsupport.c
drm_auth.c
drm_buffer.c
drm_bufs.c
drm_cache.c
drm_context.c
drm_crtc.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_crtc_helper.c drm: Split out drm_probe_helper.c from drm_crtc_helper.c 2014-04-18 13:21:17 +10:00
drm_crtc_internal.h
drm_debugfs.c
drm_dma.c
drm_dp_helper.c drm/dp/i2c: Update comments about common i2c over dp assumptions (v3) 2014-04-08 16:12:39 +02:00
drm_drv.c drm: Add a function to get the ioctl flags 2014-03-28 14:19:02 +01:00
drm_edid.c
drm_edid_load.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm: Prefer noninterlace cmdline mode unless explicitly specified 2014-04-04 10:07:03 +10:00
drm_flip_work.c
drm_fops.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
drm_gem.c
drm_gem_cma_helper.c drm: gem-cma: Fix warnings due to improper printk formats 2014-04-04 10:13:48 +10:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_ioc32.c
drm_ioctl.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_irq.c
drm_lock.c
drm_memory.c
drm_mipi_dsi.c drm/mipi_dsi: create dsi devices only for nodes with reg property 2014-04-04 21:24:47 +09:00
drm_mm.c drm/mm: Don't WARN if drm_mm_reserve_node 2014-04-10 10:54:47 +03:00
drm_modes.c
drm_panel.c
drm_pci.c
drm_plane_helper.c drm/plane-helper: Don't fake-implement primary plane disabling 2014-04-18 13:18:50 +10:00
drm_platform.c
drm_prime.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-04-08 09:52:16 -07:00
drm_probe_helper.c drm: Split out drm_probe_helper.c from drm_crtc_helper.c 2014-04-18 13:21:17 +10:00
drm_rect.c
drm_scatter.c
drm_stub.c drm: Allow userspace to ask for universal plane list (v2) 2014-04-01 20:18:29 -04:00
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_usb.c
drm_vm.c
drm_vma_manager.c
Kconfig
Makefile drm: Split out drm_probe_helper.c from drm_crtc_helper.c 2014-04-18 13:21:17 +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