profile/ivi/libdrm.git
17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
Alan Hourihane [Fri, 18 May 2007 12:48:56 +0000 (13:48 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

shared-core/i915_dma.c

17 years agoSet crtcinfo on temporary mode
Alan Hourihane [Thu, 17 May 2007 22:33:48 +0000 (23:33 +0100)]
Set crtcinfo on temporary mode

17 years agobring in change from drm_fb.c
Alan Hourihane [Thu, 17 May 2007 18:32:46 +0000 (19:32 +0100)]
bring in change from drm_fb.c

17 years agoMove destruction of crtc as intelfb_remove uses the crtc to locate the fb.
Alan Hourihane [Thu, 17 May 2007 18:28:03 +0000 (19:28 +0100)]
Move destruction of crtc as intelfb_remove uses the crtc to locate the fb.

17 years agoMerge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into...
Jesse Barnes [Thu, 17 May 2007 17:35:07 +0000 (10:35 -0700)]
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

linux-core/drm_crtc.c
linux-core/drm_fb.c

Lots of changes to merge with alanh's latest stuff:
  o fix use of fb->pitch now that it has the right value
  o add new helper for finding the CRTC given an FB
  o fix new fb_probe/fb_remove functions to take a CRTC
  o fixup callers of new FB routines
  o port drm_fb changes to intel_fb
  o check for errors after creating fb buffer object
  o go back to using cfb_imageblit since the accel stubs aren't ready

17 years agoGrab the default mode if the preferred mode isn't available.
Alan Hourihane [Thu, 17 May 2007 16:00:11 +0000 (17:00 +0100)]
Grab the default mode if the preferred mode isn't available.

Fix an overflow problem.

17 years agoFix FB pitch value (we had it wrong and were working around it in a few
Jesse Barnes [Thu, 17 May 2007 16:00:06 +0000 (09:00 -0700)]
Fix FB pitch value (we had it wrong and were working around it in a few
places).
Add new FB hooks to the drm driver structure and make i915 use them for an
Intel specific FB driver.  This will allow acceleration and better handling
of the command stream.

17 years agonouveau: don't build the module by default
Stephane Marchesin [Thu, 17 May 2007 15:35:14 +0000 (17:35 +0200)]
nouveau: don't build the module by default

17 years agoFix build problem
Alan Hourihane [Thu, 17 May 2007 12:19:56 +0000 (13:19 +0100)]
Fix build problem

17 years agoLarge changes for fbdev support.
root [Thu, 17 May 2007 11:46:36 +0000 (12:46 +0100)]
Large changes for fbdev support.

Change from DIRECTCOLOR to TRUECOLOR, and enable
support for PSEUDOCOLOR. DIRECTCOLOR support needs more work.

Add the ability to change the mode on the fbdev device.

Support depth 8, 15, 16 and 24 (and 32).

Add a /dev/fbX device per CRTC, but there's some code which
doesn't allocate the fbX device unless the output is actually
enabled. Read the code on this as it impacts the fbcon map flags.

Pick CRTC's based on the available outputs. More work could
be done here to match modes, so cloning could be achieved on
outputs. This fits more inline with what the X code does.

17 years agor300: Added my comments into r300_reg.h.
Oliver McFadden [Sun, 13 May 2007 16:18:54 +0000 (16:18 +0000)]
r300: Added my comments into r300_reg.h.

17 years agor300: Synchronized R300 register defines file.
Oliver McFadden [Sun, 13 May 2007 07:53:40 +0000 (07:53 +0000)]
r300: Synchronized R300 register defines file.

Just moved the indent control comments so that indent doesn't try to change
anything.

17 years agonouveau : nv10 graph move clipping value to per channel init
Matthieu Castet [Sat, 12 May 2007 13:35:39 +0000 (15:35 +0200)]
nouveau : nv10 graph move clipping value to per channel init

17 years agonouveau : nv10 graph clipping values were forgoten in ddx to drm commit
Matthieu Castet [Sat, 12 May 2007 13:16:37 +0000 (15:16 +0200)]
nouveau : nv10 graph clipping values were forgoten in ddx to drm commit

17 years agoAllow vblank interrupts to remain disabled across VT switch.
Keith Packard [Mon, 7 May 2007 13:07:48 +0000 (09:07 -0400)]
Allow vblank interrupts to remain disabled across VT switch.

i915_driver_irq_postinstall was forcing vblank interrupts to pipe A when
called with vblank interrupts disabled. This caused vblank interrupts to be
accidentally re-enabled when VT switching the X server. Instead, start the
driver with vblank interrupts enabled on pipe A to support older X servers,
but then leave control over the state to the X server if it is able to do so.

17 years agoJust some minor cleanups.
Alan Hourihane [Thu, 10 May 2007 12:16:05 +0000 (13:16 +0100)]
Just some minor cleanups.

17 years agor300: Synchronized R300 register defines file.
Oliver McFadden [Wed, 9 May 2007 18:31:31 +0000 (18:31 +0000)]
r300: Synchronized R300 register defines file.

17 years agor300: Synchronized R300 register defines file.
Oliver McFadden [Wed, 9 May 2007 15:22:09 +0000 (15:22 +0000)]
r300: Synchronized R300 register defines file.

17 years agonouveau : fix fifo context size for nv10
Matthieu Castet [Tue, 8 May 2007 19:18:02 +0000 (21:18 +0200)]
nouveau : fix fifo context size for nv10

17 years agolibdrm: fix typo on ttm fence interface
Dave Airlie [Tue, 8 May 2007 07:51:21 +0000 (17:51 +1000)]
libdrm: fix typo on ttm fence interface

17 years agos/OJBECTS/OBJECTS/
Brian [Sun, 6 May 2007 16:09:59 +0000 (10:09 -0600)]
s/OJBECTS/OBJECTS/

17 years agor300: Synchronize the register file from Mesa.
Oliver McFadden [Sun, 6 May 2007 12:47:03 +0000 (12:47 +0000)]
r300: Synchronize the register file from Mesa.

17 years agor300: Use the defined names for known registers.
Oliver McFadden [Sun, 6 May 2007 12:35:16 +0000 (12:35 +0000)]
r300: Use the defined names for known registers.

17 years agodrm: remove unused define DRM_HAS_TTM
Dave Airlie [Sun, 6 May 2007 00:50:10 +0000 (10:50 +1000)]
drm: remove unused define DRM_HAS_TTM

17 years agoCleaned up userspace interface for modesetting.
Jakob Bornecrantz [Sat, 5 May 2007 14:08:27 +0000 (16:08 +0200)]
Cleaned up userspace interface for modesetting.

17 years agoFix buffer object list freeing.
Thomas Hellstrom [Wed, 2 May 2007 15:13:32 +0000 (17:13 +0200)]
Fix buffer object list freeing.

17 years agoFix userspace ABI breakage from 3c384a9ad5f964709a237cfe035ea5d6df2da5fa.
Michel Dänzer [Tue, 1 May 2007 15:03:55 +0000 (17:03 +0200)]
Fix userspace ABI breakage from 3c384a9ad5f964709a237cfe035ea5d6df2da5fa.

17 years agocleanup usermodes on drm mode setting shutdown
Dave Airlie [Tue, 1 May 2007 04:20:22 +0000 (14:20 +1000)]
cleanup usermodes on drm mode setting shutdown

17 years agoAdd support for user defined modes
Dave Airlie [Tue, 1 May 2007 03:16:29 +0000 (13:16 +1000)]
Add support for user defined modes

This allows userspace to specify modes and add them to the modesetting
system and attach modes to outputs

17 years agofix unusued variable
Dave Airlie [Tue, 1 May 2007 03:15:41 +0000 (13:15 +1000)]
fix unusued variable

17 years agoradeon: Don't mess up page flipping when a file descriptor is closed.
Michel Dänzer [Sun, 29 Apr 2007 10:17:57 +0000 (12:17 +0200)]
radeon: Don't mess up page flipping when a file descriptor is closed.

There can still be other contexts that may use page flipping later on, so don't
just unilaterally 'clean it up', which could lead to the wrong page being
displayed, e.g. when running 3D apps with a GLX compositing manager such as
compiz using page flipping.

17 years agomove i915 to new drm_wait_on function
Dave Airlie [Sat, 28 Apr 2007 05:07:22 +0000 (15:07 +1000)]
move i915 to new drm_wait_on function

17 years agodrm: add new drm_wait_on function to replace macro
Dave Airlie [Sat, 28 Apr 2007 05:05:20 +0000 (15:05 +1000)]
drm: add new drm_wait_on function to replace macro

17 years agoremove register usage
Dave Airlie [Sat, 28 Apr 2007 05:04:49 +0000 (15:04 +1000)]
remove register usage

17 years agoremove DRM_GETSAREA and replace with drm_getsarea function
Dave Airlie [Sat, 28 Apr 2007 04:49:27 +0000 (14:49 +1000)]
remove DRM_GETSAREA and replace with drm_getsarea function

17 years agoRevert "bug 7092 : add pci ids for mach64 in Dell poweredge 4200"
George Sapountzis [Thu, 26 Apr 2007 11:16:51 +0000 (14:16 +0300)]
Revert "bug 7092 : add pci ids for mach64 in Dell poweredge 4200"

This reverts commit 255f3e6f76dfd267a14765dd1293229184298d89.

Rage IIc does not have a vertex setup engine.

17 years agolinux: minor indent.
George Sapountzis [Thu, 26 Apr 2007 11:16:28 +0000 (14:16 +0300)]
linux: minor indent.

17 years agofreebsd: remove stray apperance of IN_MODULE.
George Sapountzis [Thu, 26 Apr 2007 11:16:13 +0000 (14:16 +0300)]
freebsd: remove stray apperance of IN_MODULE.

The xserver no longer uses the libc-wrapper.

17 years agolibdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.
George Sapountzis [Thu, 26 Apr 2007 11:15:55 +0000 (14:15 +0300)]
libdrm: remove HAVE_XORG_CONFIG_H and XFree86LOADER ifdef's.

We no longer import libdrm in the xserver.

17 years agoupdate create_lk_drm.sh script
Dave Airlie [Thu, 26 Apr 2007 07:54:06 +0000 (17:54 +1000)]
update create_lk_drm.sh script

17 years agowhitespace cleanup
Dave Airlie [Thu, 26 Apr 2007 06:25:43 +0000 (16:25 +1000)]
whitespace cleanup

17 years agoremove some whitespace violation
Dave Airlie [Thu, 26 Apr 2007 06:22:28 +0000 (16:22 +1000)]
remove some whitespace violation

17 years agodrm: nopfn warning on 64-bit
Dave Airlie [Thu, 26 Apr 2007 06:22:11 +0000 (16:22 +1000)]
drm: nopfn warning on 64-bit

17 years agodrm/ttm: allow drm_buffer_object_create to be used in-kernel
Jesse Barnes [Thu, 26 Apr 2007 06:09:24 +0000 (16:09 +1000)]
drm/ttm: allow drm_buffer_object_create to be used in-kernel

17 years agoAdd new buffer object type for kernel allocations that don't initially have a user...
Jesse Barnes [Wed, 11 Apr 2007 19:51:52 +0000 (12:51 -0700)]
Add new buffer object type for kernel allocations that don't initially have a user mapping.
(cherry picked from commit 2e21779992bd5026d8ec4dea52466377dbe5a0ed)

17 years agoMerge branch 'origin' into modesetting-101
Dave Airlie [Thu, 26 Apr 2007 05:56:21 +0000 (15:56 +1000)]
Merge branch 'origin' into modesetting-101

17 years agoi915: fix vblank pipe setup
Dave Airlie [Thu, 26 Apr 2007 04:50:00 +0000 (14:50 +1000)]
i915: fix vblank pipe setup

17 years agoMore detailed instructions, tips.
Brian [Wed, 25 Apr 2007 20:52:29 +0000 (14:52 -0600)]
More detailed instructions, tips.

17 years agonouveau: fix wacky pci id
Stephane Marchesin [Mon, 23 Apr 2007 20:37:01 +0000 (22:37 +0200)]
nouveau: fix wacky pci id

17 years agodrm: make mode numbers no change by comparing probed modes
Dave Airlie [Mon, 23 Apr 2007 01:42:29 +0000 (11:42 +1000)]
drm: make mode numbers no change by comparing probed modes

The mode list sets all the output modes to UNVERIFIED, then probes a new list,
If a mode is on the new list and not on the old, it adds it to the old,
if a mode is on the new list and old, it just updates the status to the new
mode status.
If a mode is on the old list and not on the new, prune invalid modes should
remove all UNVERIFIED modes

17 years agofixup vrefresh reporting, it should now be *1000 in userspace
Dave Airlie [Sun, 22 Apr 2007 23:10:46 +0000 (09:10 +1000)]
fixup vrefresh reporting, it should now be *1000 in userspace

17 years agoOops, edid data should just be a char *, as edid.h is private to edid.c
Jesse Barnes [Sat, 21 Apr 2007 01:00:44 +0000 (18:00 -0700)]
Oops, edid data should just be a char *, as edid.h is private to edid.c
(we can just recombine them now).

17 years agoAdd a monitor information structure separate from the EDID data for tracking
Jesse Barnes [Sat, 21 Apr 2007 00:59:30 +0000 (17:59 -0700)]
Add a monitor information structure separate from the EDID data for tracking
monitor limits, etc.

17 years agoDocument drm_modes.c functions.
Jesse Barnes [Sat, 21 Apr 2007 00:03:50 +0000 (17:03 -0700)]
Document drm_modes.c functions.

17 years agoAdd a mode name generation wrapper to make name format changes easier.
Jesse Barnes [Fri, 20 Apr 2007 23:32:58 +0000 (16:32 -0700)]
Add a mode name generation wrapper to make name format changes easier.

17 years agoInitialize rwlock using rwlock_init to appease lockdep validator.
Kristian Høgsberg [Fri, 20 Apr 2007 22:06:31 +0000 (18:06 -0400)]
Initialize rwlock using rwlock_init to appease lockdep validator.

17 years agoInitialize rwlock using rwlock_init to appease lockdep validator.
Kristian Høgsberg [Fri, 20 Apr 2007 22:06:31 +0000 (18:06 -0400)]
Initialize rwlock using rwlock_init to appease lockdep validator.

17 years agoClean up and return if no outputs are found.
Kristian Høgsberg [Fri, 20 Apr 2007 20:52:04 +0000 (16:52 -0400)]
Clean up and return if no outputs are found.

17 years agoAvoid a fence timeout problem when a signal is pending.
Thomas Hellstrom [Thu, 19 Apr 2007 21:25:14 +0000 (23:25 +0200)]
Avoid a fence timeout problem when a signal is pending.

17 years agoFix via compile error
Thomas Hellstrom [Fri, 20 Apr 2007 13:49:31 +0000 (15:49 +0200)]
Fix via compile error
(Reported by Benno Schulenberg.)

17 years agobackout SDVO control bus check and comment why this is a bad idea
Dave Airlie [Wed, 18 Apr 2007 23:43:46 +0000 (09:43 +1000)]
backout SDVO control bus check and comment why this is a bad idea

17 years agoDocument main drm_crtc.c functions, and rename drm_crtc_mode_create to
Jesse Barnes [Wed, 18 Apr 2007 18:49:42 +0000 (11:49 -0700)]
Document main drm_crtc.c functions, and rename drm_crtc_mode_create to
drm_mode_create to be consistent with the other functions.  Also document
where we need locking fixes and what the locks are for.

17 years agoSimplify the ttm backend interface and the agp ttm backend.
Thomas Hellstrom [Wed, 18 Apr 2007 14:33:28 +0000 (16:33 +0200)]
Simplify the ttm backend interface and the agp ttm backend.

17 years agoShouldn't free the mode here. It's done later on.
Alan Hourihane [Wed, 18 Apr 2007 13:18:56 +0000 (14:18 +0100)]
Shouldn't free the mode here. It's done later on.

17 years agoFix return status
Alan Hourihane [Wed, 18 Apr 2007 12:52:46 +0000 (13:52 +0100)]
Fix return status

17 years agoFix build problem
Alan Hourihane [Wed, 18 Apr 2007 11:19:16 +0000 (12:19 +0100)]
Fix build problem

17 years agofree the duplicated mode.
Alan Hourihane [Wed, 18 Apr 2007 11:10:06 +0000 (12:10 +0100)]
free the duplicated mode.

17 years agoWhen no valid EDID modes are available, we bail.
Alan Hourihane [Wed, 18 Apr 2007 11:07:55 +0000 (12:07 +0100)]
When no valid EDID modes are available, we bail.

This snippet adds a standard 640x480 @ 60Hz mode when
that occurs, so we can continue with a basic mode.

Should we do this here though ???

17 years agoMerge remote branch 'origin/modesetting-101' into modesetting-101
Alan Hourihane [Wed, 18 Apr 2007 10:55:09 +0000 (11:55 +0100)]
Merge remote branch 'origin/modesetting-101' into modesetting-101

17 years agoSupport the RGB outputs of SDVO cards, which are essentially
Alan Hourihane [Wed, 18 Apr 2007 10:53:25 +0000 (11:53 +0100)]
Support the RGB outputs of SDVO cards, which are essentially
VGA outs.

The drm_initial_config path has specific handling code to name
match for VGA, TMDS or LVDS. This is pretty restrictive and should
probably be dealt with to be more generic.

17 years agoCheck status after SDVO command for sdvo_set_control_bus_switch
Alan Hourihane [Wed, 18 Apr 2007 10:47:21 +0000 (11:47 +0100)]
Check status after SDVO command for sdvo_set_control_bus_switch

17 years agoMove SDVO PENDING check to read_response so all SDVO commands
Alan Hourihane [Wed, 18 Apr 2007 10:46:04 +0000 (11:46 +0100)]
Move SDVO PENDING check to read_response so all SDVO commands
benefit from the spin loop.

17 years agomake sure TMDS gets a crtc
Dave Airlie [Wed, 18 Apr 2007 04:55:43 +0000 (14:55 +1000)]
make sure TMDS gets a crtc

17 years agoMerge branch 'origin' into modesetting-101
Dave Airlie [Wed, 18 Apr 2007 04:11:49 +0000 (14:11 +1000)]
Merge branch 'origin' into modesetting-101

Conflicts:

linux-core/drm_bo.c

Merge in changes from master from Thomas fixiing TTM problems

17 years agoMerge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into...
Jesse Barnes [Wed, 18 Apr 2007 01:20:05 +0000 (18:20 -0700)]
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

17 years agoJust use drm_output_destroy to cleanup LVDS failures. It'll call our cleanup
Jesse Barnes [Wed, 18 Apr 2007 01:03:14 +0000 (18:03 -0700)]
Just use drm_output_destroy to cleanup LVDS failures.  It'll call our cleanup
routine, which will take care of freeing our dev_priv and i2c ddc bus.

17 years agodon't crash if no desired mode
Dave Airlie [Wed, 18 Apr 2007 00:41:39 +0000 (10:41 +1000)]
don't crash if no desired mode

17 years agobackout alanh's broken commit
Dave Airlie [Wed, 18 Apr 2007 00:39:58 +0000 (10:39 +1000)]
backout alanh's broken commit

17 years agoclean up ring buffer and TTM in i915_driver_unload
David Airlie [Fri, 13 Apr 2007 06:43:55 +0000 (16:43 +1000)]
clean up ring buffer and TTM in i915_driver_unload

I've commented out the framebuffer for now

17 years agoAdd framebuffer bo freeing to drm_mode_config_cleanup (seems like the best
Jesse Barnes [Wed, 18 Apr 2007 00:30:46 +0000 (17:30 -0700)]
Add framebuffer bo freeing to drm_mode_config_cleanup (seems like the best
place for now).

17 years agoLvds now power up backlight on commit
Jakob Bornecrantz [Tue, 17 Apr 2007 20:27:46 +0000 (22:27 +0200)]
Lvds now power up backlight on commit

Now saves previous power level in prepare and sets
that power level in commit, should power level
be 0 it will set maximum level.

17 years agoMerge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into...
Jesse Barnes [Tue, 17 Apr 2007 17:14:18 +0000 (10:14 -0700)]
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101

Conflicts:

shared-core/i915_init.c - reconcile with airlied's new code

17 years agoMove initial framebuffer allocation and configuration to drm_initial_config,
Jesse Barnes [Tue, 17 Apr 2007 17:00:37 +0000 (10:00 -0700)]
Move initial framebuffer allocation and configuration to drm_initial_config,
remove i915_driver_load fb related stuff.  Add a small helper for setting up
outputs.

17 years agoCleanup whitespace, rename macro argument.
Jesse Barnes [Tue, 17 Apr 2007 16:59:21 +0000 (09:59 -0700)]
Cleanup whitespace, rename macro argument.

17 years agoAdd prototypes for drm_bo_init_mm and drm_buffer_object_create for use by
Jesse Barnes [Tue, 17 Apr 2007 16:57:08 +0000 (09:57 -0700)]
Add prototypes for drm_bo_init_mm and drm_buffer_object_create for use by
in-kernel code.

17 years agoFix a register read that was swapped SDVOB/SDVOC
Alan Hourihane [Tue, 17 Apr 2007 15:11:00 +0000 (16:11 +0100)]
Fix a register read that was swapped SDVOB/SDVOC

Check for the PENDING message when reading the attached
displays. Ensures the command has completed before continuing.

(probably need to check PENDING in other SDVO calls too)

17 years agoFix SDVO outputs
Alan Hourihane [Tue, 17 Apr 2007 15:09:40 +0000 (16:09 +0100)]
Fix SDVO outputs

17 years agoCorrect PCI ID for i845
Alan Hourihane [Tue, 17 Apr 2007 15:08:26 +0000 (16:08 +0100)]
Correct PCI ID for i845

17 years agoDon't always free up memory space when we unpin buffers.
Thomas Hellstrom [Tue, 17 Apr 2007 12:15:37 +0000 (14:15 +0200)]
Don't always free up memory space when we unpin buffers.

17 years agoFix buffer object reference problems.
Thomas Hellstrom [Tue, 17 Apr 2007 08:53:19 +0000 (10:53 +0200)]
Fix buffer object reference problems.
(Reported by Dave Airlie).

17 years agoI don't think this dec is necessary and my stuff all works without ..
Dave Airlie [Tue, 17 Apr 2007 08:18:42 +0000 (18:18 +1000)]
I don't think this dec is necessary and my stuff all works without ..
with it everything falls over

17 years agoadd some missing export symbols
Dave Airlie [Tue, 17 Apr 2007 08:18:25 +0000 (18:18 +1000)]
add some missing export symbols

17 years agoanother large overhaul of interactions with userspace...
Dave Airlie [Tue, 17 Apr 2007 08:16:38 +0000 (18:16 +1000)]
another large overhaul of interactions with userspace...

We need to keep a list of user created fbs to nuke on master exit.
We also need to use the bo properly.

17 years agovia: Make sure we flush write-combining using a follow-up read.
Thomas Hellstrom [Tue, 17 Apr 2007 06:58:23 +0000 (08:58 +0200)]
via: Make sure we flush write-combining using a follow-up read.

17 years agoAdd a code comment.
Thomas Hellstrom [Tue, 17 Apr 2007 06:46:45 +0000 (08:46 +0200)]
Add a code comment.

17 years agoFix offset should from pci device address
Jakob Bornecrantz [Mon, 16 Apr 2007 18:54:24 +0000 (20:54 +0200)]
Fix offset should from pci device address

17 years agoRequire the hardware lock for buffer creation
Thomas Hellstrom [Mon, 16 Apr 2007 14:23:05 +0000 (16:23 +0200)]
Require the hardware lock for buffer creation
(since that implies a validate).
Fix drm_bo_wait_unfenced error messages and codes.
Fix some return codes from libdrm.

17 years agoUse drm_mem_reg_ioremap to map buffer object.
Jesse Barnes [Sat, 14 Apr 2007 22:35:38 +0000 (15:35 -0700)]
Use drm_mem_reg_ioremap to map buffer object.

17 years agoFix PRIV0 memory initialization (mm_init takes pages, not bytes), align fb
Jesse Barnes [Sat, 14 Apr 2007 22:35:21 +0000 (15:35 -0700)]
Fix PRIV0 memory initialization (mm_init takes pages, not bytes), align fb
allocation correctly, and use drm_mem_reg_iomap to map ring buffer object.

17 years agoAdded debug messages so we know which output we are dealing with
Jakob Bornecrantz [Fri, 13 Apr 2007 00:23:42 +0000 (02:23 +0200)]
Added debug messages so we know which output we are dealing with