Eric Anholt
f6426509dc
i915: Remove gen6+ batchbuffer support.
...
While i915 does have hardware contexts in hardware, we don't expect there
to ever be SW support for it (given that support hasn't even made it back
to gen5 or gen4).
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2013-06-28 13:35:24 -07:00
Eric Anholt
d71b7301ec
i915: Drop all has_llc code.
...
i915 never has llc.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2013-06-28 13:35:24 -07:00
Eric Anholt
be63c1c993
i915: Remove the remainder of the batchbuffer caching.
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2013-06-28 13:35:23 -07:00
Eric Anholt
7f210bf535
i915: Remove miscellanous uncalled gen4 code from formerly shared files.
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2013-06-28 13:35:23 -07:00
Eric Anholt
6bdc5ecbba
i915: Remove most of the code under gen >= 4 checks.
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
2013-06-28 13:35:23 -07:00
Eric Anholt
733d32f376
i915: Fork the shared code from i965.
...
Of this 15000 lines of code in intel/, we've identified 4000 lines that
are trivially unnecessary for i915, and another 1000 that are pointless for
i965, and expect to find more as time goes on. Split the i915 driver off,
so that we can continue active development on i965 without worrying about
breaking i915.
Acked-by: Kenneth Graunke <kenneth@whitecape.org >
Acked-by: Chad Versace <chad.versace@linux.intel.com >
Acked-by: Adam Jackson <ajax@redhat.com >
(and I hear second hand that idr is OK with it, too)
2013-06-26 12:28:25 -07:00
Eric Anholt
77a5bcaff4
[intel] Move over files that will be shared with 965-fbo work.
2007-11-09 14:27:33 -08:00
Dave Airlie
1b880c7e3c
i915: make i915 use the cached mappings for batch/buffer objects.
...
This should restore gears speed on 9xx hardware
2007-11-01 10:41:39 +11:00
Dave Airlie
bf805d3bf5
Merge branch 'master' into i915-superioctl
2007-10-12 11:02:46 +10:00
Dave Airlie
7e83c15fa0
i915: fixup up bufmgr to pass num buffers to kernel
...
remove unneeded entry points
2007-10-09 12:18:50 +10:00
Eric Anholt
6bac9478c3
Replace duplicated intel_reg.h with a shared header.
2007-10-04 12:28:49 -07:00
Dave Airlie
c4a9a70888
i915: add superioctl support to the ttm codepaths.
...
gears now runs for about 10-15 seconds with some artifacts before falling
over.
2007-10-04 15:31:47 +10:00
Dave Airlie
fa031c8914
i915: add superioctl initial support inside bufmgr ttm
2007-10-03 16:54:59 +10:00
Dave Airlie
4cd3ef58a9
i915/drmbuf: attempt to push relocations into buffer manager
...
This moves the relocations into the buffer manager in prepration for
a superioctl move.
2007-10-03 15:50:46 +10:00
Eric Anholt
35331a511f
[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.
2007-09-27 15:11:47 -07:00
Eric Anholt
e886ae4c58
Revert "WIP 965 conversion to dri_bufmgr."
...
This reverts commit b2f1aa2389
.
Somehow I ended up with my branch's save-this-while-I-work-on-master commit
actually on master.
2007-09-27 15:11:39 -07:00
Eric Anholt
b2f1aa2389
WIP 965 conversion to dri_bufmgr.
2007-09-27 11:15:51 -07:00
Eric Anholt
8cf9085bc7
Move i915tex driver into place as just i915.
2007-09-24 10:03:25 -07:00
Eric Anholt
8fba8d2018
Remove the old i915 driver now that i915tex works without TTM.
2007-09-24 09:56:40 -07:00
Brian Paul
9669804fe4
Don't use the x/y/width/height params passed to Clear(). Get them
...
after locking. Next: remove the params altogether.
2006-11-01 18:51:43 +00:00
Michel Dänzer
941c866739
i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.
2006-09-28 14:07:56 +00:00
Michel Dänzer
c2f1a1857e
i915: Attempt to schedule buffer swap on target vertical blank when possible.
...
This has some advantages over the traditional way of first waiting for the
target vertical blank and then emitting the buffer swap, e.g.
* glXSwapBuffers returns immediately, only the next time the driver needs the
hardware lock will it block until the target vertical blank. This should
allow applications that don't intermix rendering and other processing to
start processing for the next frame right away.
* It's less likely to produce tearing.
2006-09-28 14:07:12 +00:00
Alan Hourihane
092d14be92
Fix bug 8010 - locking issues.
2006-08-26 21:21:34 +00:00
Alan Hourihane
bd87c303e9
Fix writemasks on texture arb fp instructions.
...
Cleanup invarient state emission.
2006-08-18 09:04:48 +00:00
Dave Airlie
86740f1593
remove temporary code from keithw, this in theory isn't used at the moment
...
anyways unless INTEL_BATCH is turned on
2006-05-05 06:53:11 +00:00
Alan Hourihane
e2af1da1d3
Fix some warnings on x86_64
2006-04-07 08:50:39 +00:00
Eric Anholt
482d9dd21d
Don't index box by the box's index within numClipRects; just dereference it.
...
Fixes drawing with more than one cliprect. (Keith Packard)
2006-04-01 00:57:57 +00:00
Brian Paul
f2ad1b60c0
Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
2006-03-31 15:48:04 +00:00
Dave Airlie
4cd0e24f86
add vblank support to i915 driver
2006-02-06 00:09:58 +00:00
Alan Hourihane
39c492bb14
Add Intel 945GM support
...
Add rotation support
(Tungsten Graphics)
2006-01-23 10:10:48 +00:00
Brian Paul
402b2bea64
Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch,
...
backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
2005-09-10 00:10:15 +00:00
Brian Paul
e4b2356c07
Major check-in of changes for GL_EXT_framebuffer_object extension.
...
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
2005-05-04 20:11:35 +00:00
Keith Whitwell
594c3f67ac
add missing license texts
2004-06-18 10:54:48 +00:00
Keith Whitwell
41b58954e1
New driver for i915 as well as older i830/i845/i865 chipsets.
2004-06-10 12:48:07 +00:00