Jeff Garzik 24f73c92a9 drm: fix error returns, sysfs error handling
- callers of drm_sysfs_create() and drm_sysfs_device_add() looked for
  errors using IS_ERR(), but the functions themselves only ever returned
  NULL on error.  Fixed.

- unwind from, and propagate sysfs errors

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2006-10-25 09:40:40 -07:00
..
2006-04-23 18:26:40 +10:00
2006-02-02 19:37:46 +11:00
2006-03-19 18:56:12 +11:00
2005-09-25 14:28:13 +10:00
2006-09-22 05:32:33 +10:00
2006-09-22 05:32:33 +10:00
2006-09-22 05:32:30 +10:00
2006-01-03 18:18:01 +11:00
2006-04-05 18:12:18 +10:00
2005-09-25 14:28:13 +10:00
2006-09-22 05:32:33 +10:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2006-01-02 20:14:23 +11:00
2005-09-25 14:28:13 +10:00
2006-10-24 21:52:23 +10:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2006-03-19 19:12:10 +11:00
2005-09-25 14:28:13 +10:00
2005-09-25 14:28:13 +10:00
2005-04-16 15:20:36 -07:00
2005-09-25 14:28:13 +10:00
2006-10-25 09:40:40 -07:00
2006-09-22 05:32:31 +10:00
2006-09-22 05:32:31 +10:00
2006-09-22 05:32:33 +10:00
2005-09-25 14:28:13 +10:00
2006-01-10 19:53:54 +11:00
2005-06-28 22:48:56 +10:00
2005-11-12 21:52:46 +11:00
2005-11-12 21:52:46 +11:00
2005-11-12 21:52:46 +11:00

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

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://precisioninsight.com/piinsights.html

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://precisioninsight.com/dr/drm.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/locking.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/security.html

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