login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
18
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series chipsets
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Dmitri Vorobiev <dmitri.vorobiev@...>
To: <zhenyu.z.wang@...>
Cc: Dave Airlie <airlied@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series chipsets
Date: Wednesday, June 18, 2008 - 3:26 am
Zhenyu Wang wrote:
quoted text
> Dave, here's the patch against current git master. > > Thanks. > > [AGP] intel_agp: Add support for Intel 4 series chipsets > > Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com> > --- > drivers/char/agp/intel-agp.c | 82 ++++++++++++++++++++++++++++++++++++----- > 1 files changed, 72 insertions(+), 10 deletions(-) > > diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c > index eeea50a..76731db 100644 > --- a/drivers/char/agp/intel-agp.c > +++ b/drivers/char/agp/intel-agp.c > @@ -34,6 +34,12 @@ > #define PCI_DEVICE_ID_INTEL_Q33_IG 0x29D2 > #define PCI_DEVICE_ID_INTEL_IGD_HB 0x2A40 > #define PCI_DEVICE_ID_INTEL_IGD_IG 0x2A42 > +#define PCI_DEVICE_ID_INTEL_IGD_E_HB 0x2E00 > +#define PCI_DEVICE_ID_INTEL_IGD_E_IG 0x2E02 > +#define PCI_DEVICE_ID_INTEL_Q45_HB 0x2E10 > +#define PCI_DEVICE_ID_INTEL_Q45_IG 0x2E12 > +#define PCI_DEVICE_ID_INTEL_G45_HB 0x2E20 > +#define PCI_DEVICE_ID_INTEL_G45_IG 0x2E22 > > /* cover 915 and 945 variants */ > #define IS_I915 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_E7221_HB || \ > @@ -55,6 +61,10 @@ > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \ > agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q33_HB) > > +#define IS_G4X (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGD_E_HB || \ > + agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q45_HB || \ > + agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB) > + > extern int agp_memory_reserved; > > > @@ -80,8 +90,12 @@ extern int agp_memory_reserved; > #define I915_PTEADDR 0x1C > #define I915_GMCH_GMS_STOLEN_48M (0x6 << 4) > #define I915_GMCH_GMS_STOLEN_64M (0x7 << 4) > -#define G33_GMCH_GMS_STOLEN_128M (0x8 << 4) > -#define G33_GMCH_GMS_STOLEN_256M (0x9 << 4) > +#define G33_GMCH_GMS_STOLEN_128M (0x8 << 4) > +#define G33_GMCH_GMS_STOLEN_256M (0x9 << 4) > +#define INTEL_GMCH_GMS_STOLEN_96M (0xa << 4) > +#define INTEL_GMCH_GMS_STOLEN_160M (0xb << 4) > +#define INTEL_GMCH_GMS_STOLEN_224M (0xc << 4) > +#define INTEL_GMCH_GMS_STOLEN_352M (0xd << 4) > #define I915_IFPADDR 0x60 > > /* Intel 965G registers */ > @@ -504,6 +518,10 @@ static void intel_i830_init_gtt_entries(void) > size = 512; > } > size += 4; > + } else if (IS_G4X) { > + /* On 4 Series hardware, GTT stolen is seperate from graphics
You have a spelling error here. Should be "separate". Thanks, Dmitri --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [AGP] intel_agp: Add support for Intel 4 series chip...
, Zhenyu Wang
, (Wed Jun 18, 1:23 am)
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series ...
, Dmitri Vorobiev
, (Wed Jun 18, 3:26 am)
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series ...
, Zhenyu Wang
, (Wed Jun 18, 3:34 am)
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series ...
, Zhenyu Wang
, (Wed Jun 18, 8:55 pm)
Re: [PATCH] [AGP] intel_agp: Add support for Intel 4 series ...
, Zhenyu Wang
, (Wed Jun 18, 8:56 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Jeff Garzik
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Paul E. McKenney
[PATCH RFC 3/9] RCU: Preemptible RCU
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Gerrit Renker
[PATCH 13/37] dccp: Deprecate Ack Ratio sysctl
Patrick McHardy
Re: [GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
793 guests
online.
Online users
strcmp
hairloss3g
Nelson
Syndicate