For headers that get exported to userland and make use of u32 style
type names, it is advised to include linux/types.h.
This fixes 5 headers_check warnings.
Signed-off-by: Alexander Shishkin <virtuoso(a)slind.org>
CC: Andrew Morton <akpm(a)linux-foundation.org>
CC: David Airlie <airlied(a)linux.ie>
CC: Chris Wilson <chris(a)chris-wilson.co.uk>
CC: dri-devel(a)lists.freedesktop.org
CC: linux-kernel(a)vger.kernel.org
CC: intel-gfx(a)lists.freedesktop.org
---
include/drm/…
[View More]drm_mode.h | 2 ++
include/drm/i915_drm.h | 1 +
include/drm/mga_drm.h | 1 +
include/drm/radeon_drm.h | 1 +
include/drm/via_drm.h | 1 +
5 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 0fc7397..1678d7b 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -27,6 +27,8 @@
#ifndef _DRM_MODE_H
#define _DRM_MODE_H
+#include <linux/types.h>
+
#define DRM_DISPLAY_INFO_LEN 32
#define DRM_CONNECTOR_NAME_LEN 32
#define DRM_DISPLAY_MODE_LEN 32
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 8c641bed..c07c043 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -27,6 +27,7 @@
#ifndef _I915_DRM_H_
#define _I915_DRM_H_
+#include <linux/types.h>
#include "drm.h"
/* Please note that modifications to all structs defined here are
diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h
index c16097f..1107097 100644
--- a/include/drm/mga_drm.h
+++ b/include/drm/mga_drm.h
@@ -35,6 +35,7 @@
#ifndef __MGA_DRM_H__
#define __MGA_DRM_H__
+#include <linux/types.h>
#include "drm.h"
/* WARNING: If you change any of these defines, make sure to change the
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h
index 10f8b53..78d9344 100644
--- a/include/drm/radeon_drm.h
+++ b/include/drm/radeon_drm.h
@@ -33,6 +33,7 @@
#ifndef __RADEON_DRM_H__
#define __RADEON_DRM_H__
+#include <linux/types.h>
#include "drm.h"
/* WARNING: If you change any of these defines, make sure to change the
diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h
index fd11a5b..23880b0 100644
--- a/include/drm/via_drm.h
+++ b/include/drm/via_drm.h
@@ -24,6 +24,7 @@
#ifndef _VIA_DRM_H_
#define _VIA_DRM_H_
+#include <linux/types.h>
#include "drm.h"
/* WARNING: These defines must be the same as what the Xserver uses.
--
1.7.2.1.45.gb66c2
[View Less]
Hi all,
I have replaced the distro kernel on openSUSE 11.3 with custom compiled
2.6.37-rc3 and now all glx application are crashing with these kind of kernel
errors:
[ 312.028728] radeon 0000:01:05.0: r600_cs_track_validate_cb offset[0] 0 10476800 385024 too big
[ 312.028732] radeon 0000:01:05.0: r600_packet3_check:1331 invalid cmd stream 514
[ 312.028735] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 330.726826] radeon 0000:01:05.0: r600_cs_track_validate_cb offset[0] 0 …
[View More]6286080 94208 too big
[ 330.726830] radeon 0000:01:05.0: r600_packet3_check:1331 invalid cmd stream 514
[ 330.726833] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Not sure which parts of userspace are relevant for this so I will give you a
couple of package versions for start:
libdrm-2.4.21-1.2.x86_64
Mesa-7.8.2-1.3.x86_64
xorg-x11-driver-video-7.5-15.2.x86_64
Hardware is:
01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200]
Thanks,
Tvrtko
[View Less]
https://bugs.freedesktop.org/show_bug.cgi?id=31417
Summary: [r200] GPU lockup
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/r200
AssignedTo: dri-devel(a)lists.freedesktop.org
ReportedBy: skunk(a)iskunk.org
In the course of using Wings3D (a 3D modeling program, basically CAD), I get
what …
[View More]is reported in the kernel log as a GPU lockup. It happens as follows:
1. Start up the program, and begin creating/manipulating some geometry.
2. At some point, the display freezes, with the exception of the mouse pointer.
It remains like this for about ten seconds.
3. The display goes black for a few seconds, and then the previous screen
returns.
4. The display now responds, with the caveat that the mouse pointer is now
invisible. (You can see menu items and such prelight under it, which is about
the only way you can tell where it is.)
5. If you can kill Wings3D, everything is back to normal.
To aid in debugging, I've put together a log file (attached) that combines the
following three streams, interleaved in time:
* Normal terminal output from Wings3D (there's only a bit of this, at the
beginning and end)
* Additional terminal output from having set RADEON_DEBUG=all
* Kernel messages in /var/log/messages (search for "GPU lockup")
I am running Ubuntu Maverick on amd64 with kernel 2.6.36 plus Alex Deucher's
patch for bug #25544, and Mesa packages from Ubuntu's xorg-edgers/radeon PPA
built from git 20101103. My video board is an ATI FireGL 8800.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[View Less]
Hi Linus,
lots of regression fixes, I delayed sending this until I tracked down why
37-rc wouldn't show anything on my newly acquired HP 2540p when 2.6.36
worked, some eDP changes to fix some Sony's regressed the HPs so we've just reverted it and
hopefully jbarnes can work out what he did wrong when get he gets back. So
anyone who's Sony magically started to work in -rc1 will be disappointed
but at least we don't have a regression since .36.
Otherwise there are regression fixes for Intel …
[View More]and Radeon hw, with the
biggest change being the pagefault handling fixes in i915.
Dave.
The following changes since commit 3561d43fd289f590fdae672e5eb831b8d5cf0bf6:
Linux 2.6.37-rc3 (2010-11-21 15:18:56 -0800)
are available in the git repository at:
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes
Alex Deucher (6):
drm/radeon/kms: fix regression in rs4xx i2c setup
drm/radeon/kms: fix resume regression for some r5xx laptops
Revert "drm/radeon/kms: fix typo in r600 cs checker"
drm/radeon/kms: fix typos in disabled vbios code
drm/radeon/kms: fix interlaced and doublescan handling
drm/radeon/kms: add workaround for dce3 ddc line vbios bug
Chris Wilson (9):
drm/i915: Prevent integer overflow when validating the execbuffer
drm/i915: Only save/restore cursor regs if !KMS
Merge remote branch 'linus' into drm-intel-fixes
drm/i915/sdvo: Only enable HDMI encodings only if the commandset is supported
drm/i915: Handle pagefaults in execbuffer user relocations
drm/i915/sdvo: Always fallback to querying the shared DDC line
drm/i915/sdvo: Always add a 30ms delay to make SDVO TV detection reliable
drm/i915: Clear pfit registers when not used by any outputs
Revert "drm/i915/dp: use VBT provided eDP params if available"
Daniel Vetter (1):
drm/i915: fix regression due to ba3d8d749b01548b9
Dave Airlie (2):
Merge remote branch 'intel/drm-intel-fixes' of /ssd/git/drm-next into drm-fixes
Merge remote branch 'intel/drm-intel-fixes' of /ssd/git/drm-next into drm-fixes
Joe Perches (1):
MAINTAINERS: INTEL DRM DRIVERS list (intel-gfx) is subscribers-only
Keith Packard (2):
drm: Set connector DPMS status to ON in drm_crtc_helper_set_config
drm: record monitor status in output_poll_execute
MAINTAINERS | 2 +-
drivers/gpu/drm/drm_crtc_helper.c | 14 +-
drivers/gpu/drm/i915/i915_gem.c | 513 +++++++++++++++++-----------
drivers/gpu/drm/i915/i915_suspend.c | 40 ++--
drivers/gpu/drm/i915/intel_display.c | 7 +-
drivers/gpu/drm/i915/intel_dp.c | 146 +++-----
drivers/gpu/drm/i915/intel_drv.h | 2 +-
drivers/gpu/drm/i915/intel_lvds.c | 19 +-
drivers/gpu/drm/i915/intel_sdvo.c | 84 ++----
drivers/gpu/drm/radeon/atom.c | 1 +
drivers/gpu/drm/radeon/r600_cs.c | 2 +-
drivers/gpu/drm/radeon/r600_reg.h | 1 +
drivers/gpu/drm/radeon/radeon_atombios.c | 16 +
drivers/gpu/drm/radeon/radeon_bios.c | 13 +-
drivers/gpu/drm/radeon/radeon_combios.c | 2 +-
drivers/gpu/drm/radeon/radeon_connectors.c | 34 ++
16 files changed, 511 insertions(+), 385 deletions(-)
[View Less]