History log of /drivers/char/agp/intel-agp.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
780d7cc44524cd396a34757127f51ecb8ccaf2da 13-Jul-2011 Chris Wilson <chris@chris-wilson.co.uk> agp/intel: Fix typo in G4x_GMCH_SIZE_VT_2M

Konstantin Belousov found an error in the define of G4x_GMCH_SIZE_VT_2M
relative to the GMCH specs, and confirmed that indeed one of his users
with a Q45 reports 0xb not 0xc for a 2/2MiB GATT.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Konstantin Belousov <kostikbel@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/drivers/char/agp/intel-agp.h
246d08b8f94a5545077611ab5bfb9d47014ede75 17-Feb-2011 Jesse Barnes <jbarnes@virtuousgeek.org> agp/intel: add Ivy Bridge support

Just use the Sandy Bridge routines.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
/drivers/char/agp/intel-agp.h
bdb8b975fc66e081c3f39be6267701f8226d11aa 22-Dec-2010 Chris Wilson <chris@chris-wilson.co.uk> agp/intel: Experiment with a 855GM GWB bit

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=27187
Tested-by: Thorsten Vollmer <thorsten@thvo.de> (DFI-ACP G5M150-N w/852GME)
Tested-by: Moritz Brunner <2points@gmx.org> (Asus M2400N/i855GM)
Tested-by: Indan Zupancic <indan@nul.nu> (Thinkpad X40/855GM rev 02)
Tested-by: Eric Anholt <eric@anholt.net> (865G)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
c97689d8860f086125e7ff9cd730027a0057ca4f 23-Dec-2010 Chris Wilson <chris@chris-wilson.co.uk> agp/intel: Flush the chipset write buffers when changing GTT base

Flush the chipset write buffers before and after adjusting the GTT base
register, just in case. We only modify this value upon initialisation
(boot and resume) so there should be no outstanding writes, however
there are always those persistent PGTBL_ER that keep getting reported
upon resume.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
201728429d6cf336cfd7483fcd1bce47291b2901 24-Sep-2010 Daniel Vetter <daniel.vetter@ffwll.ch> intel-gtt: maximize ggtt size on platforms that support this

On VT-d supporting platforms the GGTT is allocated in a stolen mem
section separate from graphcis stolen mem. The GMCH register contains
a bitfield specifying the size of that region. Docs suggest that this
region can only be used for GGTT and PPGTT. Hence ensure that the
PPGTT is disabled and use the complete area for the GGTT.

Unfortunately the graphics core on G33/Pineview can't cope with really
large GTTs and the BIOS usually enables the maximum of 512MB. So
don't bother with maximizing the GTT on these platforms.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
e9e5f8e8d373e72f5c39dafde1ce110fc7082118 21-Sep-2010 Chris Wilson <chris@chris-wilson.co.uk> Merge branch 'drm-intel-fixes' into HEAD

Conflicts:
drivers/char/agp/intel-agp.c
drivers/gpu/drm/i915/intel_crt.c
41a51428916ab04587bacee2dda61c4a0c4fc02f 17-Sep-2010 Chris Wilson <chris@chris-wilson.co.uk> drm/i915,agp/intel: Add second set of PCI-IDs for B43

There is a second revision of B43 (a desktop gen4 part) floating around,
functionally equivalent to the original B43, so simply add the new
PCI-IDs.

Bugzilla: https://bugs.freedesktop.org/show_bugs.cgi?id=30221
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
/drivers/char/agp/intel-agp.h
1a997ff2a0089a07a5494545d31f4366742dea43 08-Sep-2010 Daniel Vetter <daniel.vetter@ffwll.ch> intel-gtt: introduce intel_gtt_driver

Same idea as INTEL_INFO from drm/i915. This
- reduces the dependancy on agp_driver
- stops the what-does-IS_I965G-mean confusion (here it's just gen4, in
drm/i915 it's gen >=4)
- further prepares the separation of the fake agp driver from the rest.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
e2404e7c3fe6f46e161edf085c6d9bea06ebe488 08-Sep-2010 Daniel Vetter <daniel.vetter@ffwll.ch> agp/intel: make intel-gtt.c into a real source file

Now that the disentangling is complete, stop including intel-gtt.c
from intel-agp.c.

The linux build system _really_ doesn't allow .c source files with the
same name as the module. It fails with the following message when trying
to build such a bugger:

make[3]: Circular drivers/char/agp/intel-agp.o <- drivers/char/agp/intel-agp.o dependency dropped.

Instead of renameing intel-agp.c I've simply created a new module out
of intel-gtt.c. Renaming intel-agp.ko to something else is not an option
for it will surely kill someones boot process.

This also paves the way to use the gtt code without loading the agp
driver.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
8554048070906579ec9fa19ac381deddd2d7b155 07-Sep-2010 Zhenyu Wang <zhenyuw@linux.intel.com> intel_agp,i915: Add more sandybridge graphics device ids

New pci ids for GT2 and GT2+ on desktop and mobile sandybridge,
and graphics device ids for server sandybridge. Also rename original
ids string to reflect GT1 version.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
93f5f7f1249e76a5e8afbdab53f90b10c41fdb61 27-Aug-2010 Zhenyu Wang <zhenyuw@linux.intel.com> agp/intel: use #ifdef idiom for intel-agp.h

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/drivers/char/agp/intel-agp.h
4fefe435626758b14e6c05d2a5f8d71a997c0ad6 19-Aug-2010 Zhenyu Wang <zhenyuw@linux.intel.com> drm/i915,intel_agp: Add support for Sandybridge D0

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
/drivers/char/agp/intel-agp.h
a2757b6fab6dee3dbf43bdb7d7226d03747fbdb1 09-Jul-2010 Zhenyu Wang <zhenyuw@linux.intel.com> agp/intel: Add actual definitions of the Sandybridge PTE caching bits.
/drivers/char/agp/intel-agp.h
ff7cdd691a0c4925c1803bf89a4c08ccda2d7658 14-Apr-2010 Daniel Vetter <daniel.vetter@ffwll.ch> agp/intel: introduce intel-agp.h header file

Intel definitions have spilled into agp.h. Create a header file for
them and also include it in efficion-agp.c 'cause it needs a few of
them.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
/drivers/char/agp/intel-agp.h