linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [Stable] agp/intel: complete the enablement for B43.1
@ 2010-11-12  9:57 Ike Panhc
  2010-11-12 10:07 ` Chris Wilson
  2010-12-03 22:52 ` [stable] " Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Ike Panhc @ 2010-11-12  9:57 UTC (permalink / raw)
  To: stable; +Cc: linux-kernel, David Airlie, Chris Wilson

This patch completes the missing part of commit 41a514 and 3dde04b and I think
commit 3dde04b is already in queue for next stable release.

Thanks Chris Wilson has the patch for enabling Intel B43.1 and backports it to
stable kernel. On mainline commit 210b23 and 1a997ff the way to detect gtt size
is changed, but these two commits landed on mainline kernel after .36 kernel
released. So that mainline kernel works fine on B43.1 machine but not stable
kernel.

Without this patch, X fails to start on 2.6.35.y kernel. After patched, X
starts.

This patch is made for 2.6.35.y and I believe it suits for 2.6.36.y.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 drivers/char/agp/intel-agp.h |    1 +
 drivers/char/agp/intel-gtt.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h
index bc9a4ad..cdefd47 100644
--- a/drivers/char/agp/intel-agp.h
+++ b/drivers/char/agp/intel-agp.h
@@ -241,6 +241,7 @@
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G41_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_B43_HB || \
+		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_B43_1_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB || \
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index ed11c77..c35361c 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1338,6 +1338,7 @@ static void intel_i965_get_gtt_range(int *gtt_offset, int *gtt_size)
 	case PCI_DEVICE_ID_INTEL_G45_HB:
 	case PCI_DEVICE_ID_INTEL_G41_HB:
 	case PCI_DEVICE_ID_INTEL_B43_HB:
+	case PCI_DEVICE_ID_INTEL_B43_1_HB:
 	case PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB:
 	case PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB:
 	case PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB:
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] [Stable] agp/intel: complete the enablement for B43.1
  2010-11-12  9:57 [PATCH] [Stable] agp/intel: complete the enablement for B43.1 Ike Panhc
@ 2010-11-12 10:07 ` Chris Wilson
  2010-12-03 22:52 ` [stable] " Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wilson @ 2010-11-12 10:07 UTC (permalink / raw)
  To: Ike Panhc, stable; +Cc: linux-kernel, David Airlie

On Fri, 12 Nov 2010 17:57:23 +0800, Ike Panhc <ike.pan@canonical.com> wrote:
> Without this patch, X fails to start on 2.6.35.y kernel. After patched, X
> starts.
> 
> This patch is made for 2.6.35.y and I believe it suits for 2.6.36.y.
> 
> Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [stable] [PATCH] [Stable] agp/intel: complete the enablement for B43.1
  2010-11-12  9:57 [PATCH] [Stable] agp/intel: complete the enablement for B43.1 Ike Panhc
  2010-11-12 10:07 ` Chris Wilson
@ 2010-12-03 22:52 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2010-12-03 22:52 UTC (permalink / raw)
  To: Ike Panhc; +Cc: stable, David Airlie, linux-kernel, Chris Wilson

On Fri, Nov 12, 2010 at 05:57:23PM +0800, Ike Panhc wrote:
> This patch completes the missing part of commit 41a514 and 3dde04b and I think
> commit 3dde04b is already in queue for next stable release.
> 
> Thanks Chris Wilson has the patch for enabling Intel B43.1 and backports it to
> stable kernel. On mainline commit 210b23 and 1a997ff the way to detect gtt size
> is changed, but these two commits landed on mainline kernel after .36 kernel
> released. So that mainline kernel works fine on B43.1 machine but not stable
> kernel.
> 
> Without this patch, X fails to start on 2.6.35.y kernel. After patched, X
> starts.
> 
> This patch is made for 2.6.35.y and I believe it suits for 2.6.36.y.
> 
> Signed-off-by: Ike Panhc <ike.pan@canonical.com>

I don't understand, is this patch upstream already?  If so, what is git
git commit id for it?  If not, why not?

confused,

greg k-h

> ---
>  drivers/char/agp/intel-agp.h |    1 +
>  drivers/char/agp/intel-gtt.c |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h
> index bc9a4ad..cdefd47 100644
> --- a/drivers/char/agp/intel-agp.h
> +++ b/drivers/char/agp/intel-agp.h
> @@ -241,6 +241,7 @@
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB || \
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G41_HB || \
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_B43_HB || \
> +		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_B43_1_HB || \
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB || \
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB || \
>  		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB || \
> diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
> index ed11c77..c35361c 100644
> --- a/drivers/char/agp/intel-gtt.c
> +++ b/drivers/char/agp/intel-gtt.c
> @@ -1338,6 +1338,7 @@ static void intel_i965_get_gtt_range(int *gtt_offset, int *gtt_size)
>  	case PCI_DEVICE_ID_INTEL_G45_HB:
>  	case PCI_DEVICE_ID_INTEL_G41_HB:
>  	case PCI_DEVICE_ID_INTEL_B43_HB:
> +	case PCI_DEVICE_ID_INTEL_B43_1_HB:
>  	case PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB:
>  	case PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB:
>  	case PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB:
> -- 
> 1.7.1
> 
> _______________________________________________
> stable mailing list
> stable@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/stable

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-03 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12  9:57 [PATCH] [Stable] agp/intel: complete the enablement for B43.1 Ike Panhc
2010-11-12 10:07 ` Chris Wilson
2010-12-03 22:52 ` [stable] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).