linux/drivers/gpu/drm
Ilia Mirkin 366d6b206f drm/nouveau/bios: fix offset calculation for BMPv1 bioses
commit 5d2f4767c4 upstream.

The only BIOS on record that needs the 14 offset has a bios major
version 2 but BMP version 1.01. Another bunch of BIOSes that need the 18
offset have BMP version 2.01 or 5.01 or higher. So instead of looking at the
bios major version, look at the BMP version. BIOSes with BMP version 0
do not contain a detectable script, so always return 0 for them.

See https://bugs.freedesktop.org/show_bug.cgi?id=68835

Reported-by: Mauro Molinari <mauromol@tiscali.it>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-06 11:08:12 -08:00
..
ast drm/ast: fix the ast open key function 2013-10-01 09:17:46 -07:00
cirrus drm/cirrus: Invalidate page tables when pinning a BO 2013-08-14 22:59:09 -07:00
exynos Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next 2013-05-24 10:14:57 +10:00
gma500 Merge branch 'gma500-fixes' of git://github.com/patjak/drm-gma500 into drm-fixes 2013-06-11 08:16:10 +10:00
i2c
i810
i915 drm/i915: Don't grab crtc mutexes in intel_modeset_gem_init() 2014-01-25 08:27:12 -08:00
mga
mgag200 drm/mgag200: Invalidate page tables when pinning a BO 2013-08-14 22:59:09 -07:00
nouveau drm/nouveau/bios: fix offset calculation for BMPv1 bioses 2014-02-06 11:08:12 -08:00
omapdrm Merge branch 'fbdev-3.10-fixes' of git://gitorious.org/linux-omap-dss2/linux into linux-fbdev/for-3.10-fixes 2013-05-29 17:00:34 +08:00
qxl qxl: avoid an oops in the deferred io code. 2013-12-04 10:57:01 -08:00
r128
radeon drm/radeon: fix UVD 256MB check 2014-01-09 12:24:22 -08:00
savage
shmobile drm/shmob: use drm_send_vblank_event() helper 2013-05-22 09:13:41 +10:00
sis
tdfx
tilcdc drm/tilcd: select BACKLIGHT_LCD_SUPPORT 2013-06-03 19:20:49 +10:00
ttm drm/ttm: Fix ttm_bo_move_memcpy 2013-12-04 10:57:05 -08:00
udl Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-05-02 19:40:34 -07:00
via
vmwgfx drm/vmwgfx: Don't kill clients on VT switch 2013-11-13 12:05:34 +09:00
ati_pcigart.c
drm_agpsupport.c
drm_auth.c
drm_buffer.c
drm_bufs.c
drm_cache.c
drm_context.c
drm_crtc_helper.c drm: Only print a debug message when the polled connector has changed 2013-05-13 12:13:06 +10:00
drm_crtc.c drm: fix DRM_IOCTL_MODE_GETFB handle-leak 2013-10-01 09:17:46 -07:00
drm_debugfs.c
drm_dma.c
drm_dp_helper.c
drm_drv.c drm: Prevent overwriting from userspace underallocating core ioctl structs 2013-11-13 12:05:34 +09:00
drm_edid_load.c
drm_edid.c drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook 2014-01-09 12:24:21 -08:00
drm_encoder_slave.c drm: refactor call to request_module 2013-05-10 14:46:03 +10:00
drm_fb_cma_helper.c
drm_fb_helper.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-05-02 19:40:34 -07:00
drm_fops.c
drm_gem_cma_helper.c
drm_gem.c drm/gem: fix not to assign error value to gem name 2013-07-25 14:07:41 -07:00
drm_global.c
drm_hashtab.c
drm_info.c
drm_ioc32.c
drm_ioctl.c
drm_irq.c drm: Don't pass negative delta to ktime_sub_ns() 2013-08-14 22:59:09 -07:00
drm_lock.c
drm_memory.c
drm_mm.c drm/mm: fix dump table BUG 2013-04-30 15:15:58 +02:00
drm_modes.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-05-13 07:59:59 -07:00
drm_pci.c drm: Silence some sparse warnings 2013-04-30 10:02:25 +10:00
drm_platform.c
drm_prime.c drm/prime: Honor requested file flags when exporting a buffer 2013-06-19 11:34:54 +10:00
drm_proc.c drm: proc: Use remove_proc_subtree() 2013-05-01 17:29:44 -04:00
drm_scatter.c
drm_stub.c drm: proc: Use minor->index to label things, not PDE->name 2013-05-01 17:29:44 -04:00
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_usb.c
drm_vm.c
Kconfig
Makefile
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