Commit graph android_kernel_sony_sdm845/include/drm/drm_os_linux.h
Message SHA1
drm: fix missing inline function on 32-bit powerpc.
The readq/writeq really need to be static inline on the arches which
don't provide them.

Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie   commited 2009-04-03 09:07:07 +10:00
522b5cc7ce
drm: add DRM_READ/WRITE64 wrappers around readq/writeq.
The readq/writeq stuff is from Dave Miller, and he
warns users to be careful about using these. Plans are only
r600 to use it so far.

Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie   commited 2009-03-13 14:24:14 +10:00
87f0da5535
drm: reorganise drm tree to be more future proof.
With the coming of kernel based modesetting and the memory manager stuff,
the everything in one directory approach was getting very ugly and
starting to be unmanageable.

This restructures the drm along the lines of other kernel components.

It creates a drivers/gpu/drm directory and moves the hw drivers into
subdirectores. It moves the includes into an include/drm, and
sets up the unifdef for the userspace headers we should be exporting.

Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie   commited 2008-07-14 10:45:01 +10:00
c0e09200dc
Renamed from drivers/char/drm/drm_os_linux.h (Browse further)