Re: [Intel-gfx] [PATCH] drm/i915:fix the bug that testdisplay can't work with 32 bits depth (bug # 40011)

2011-08-13 Thread Keith Packard
On Sun, 14 Aug 2011 06:49:13 +0800, "Lan, Hai" wrote: > Thanks for your explanation. So bug 40011 can be treated as not-a-bug. Yup. -- keith.pack...@intel.com pgppVLfmVRnhd.pgp Description: PGP signature ___ Intel-gfx mailing list Intel-gfx@lists.f

Re: [Intel-gfx] [PATCH] drm/i915:fix the bug that testdisplay can't work with 32 bits depth (bug # 40011)

2011-08-13 Thread Lan, Hai
Hi Keith Thanks for your explanation. So bug 40011 can be treated as not-a-bug. Hai Lan > -Original Message- > From: Keith Packard [mailto:kei...@keithp.com] > Sent: Sunday, August 14, 2011 1:47 AM > To: Lan, Hai; intel-gfx@lists.freedesktop.org > Cc: Lan, Hai > Subject: Re: [PATCH] drm/i

Re: [Intel-gfx] [PATCH] drm/i915:fix the bug that testdisplay can't work with 32 bits depth (bug # 40011)

2011-08-13 Thread Keith Packard
On Sat, 13 Aug 2011 23:22:14 -0400, Hai Lan wrote: > case 32: > if (fb->depth == 24) > dspcntr |= DISPPLANE_32BPP_NO_ALPHA; > + else if (fb->depth == 32) > + dspcntr |= DISPPLANE_32BPP_NO_ALPHA; > else if (fb-

[Intel-gfx] [PATCH] drm/i915:fix the bug that testdisplay can't work with 32 bits depth (bug # 40011)

2011-08-13 Thread Hai Lan
Signed-off-by: Hai Lan --- drivers/gpu/drm/i915/intel_display.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 35364e6..f743085 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/dri