Re: [Intel-gfx] [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v6

2012-02-14 Thread Lan, Hai
Hi Jesse, I have tested the video sprite with intel-gpu-tools on SNB and found a bug. When setting overlay position with x<0, it will divide 0 and make drm driver crash. I have fixed it. Please see my patch. Thanks. Hai Lan > -Original Message- > From: intel-gfx-bounces+hai.lan=intel...

Re: [Intel-gfx] [PATCH 1/3] drm/i915: add SNB and IVB video sprite support v2

2011-11-17 Thread Lan, Hai
> + /* > + * We can take a larger source and scale it down, but > + * only so much... 16x is the max on SNB. > + */ > + if (((src_w * src_h) / (crtc_w * crtc_h)) > intel_plane->max_downscale) > + return -EINVAL; > + [Lan, Hai] if cr

Re: [Intel-gfx] [PATCH 4/5] drm/i915: add SNB and IVB video sprite support

2011-11-03 Thread Lan, Hai
Hi Jesse, It sees that there might be an overflow when crtc_w or crtc_h =0. Following is my patch. Thanks and best regards. Hai Lan >From 778327daa3451f3c5f41c5db8bdccdcbf484267b Mon Sep 17 00:00:00 2001 From: Hai Lan Date: Fri, 4 Nov 2011 18:08:11 +0800 Subject: [PATCH] drm/i915:fix the overf

Re: [Intel-gfx] Playing multiple mpg files simultaneously

2011-11-03 Thread Lan, Hai
I was also using mpg container file(mpeg2 ps file). What files are you using? Hai Lan > -Original Message- > From: Jyotsana [mailto:jyotsanasi...@tataelxsi.co.in] > Sent: Thursday, November 03, 2011 2:55 PM > To: Lan, Hai > Cc: intel-gfx@lists.freedesktop.org > Subje

Re: [Intel-gfx] Playing multiple mpg files simultaneously

2011-11-02 Thread Lan, Hai
I have tried it with 6 streams MPEG2 1080P files but don't find this issue. How many streams are you playing? Hai Lan > -Original Message- > From: intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org > [mailto:intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org] On > Behalf Of

Re: [Intel-gfx] [PATCH] drm/i915: add SNB video sprite support

2011-11-01 Thread Lan, Hai
Hi Jesse, I hope the function of snb_update_plane can handle crtx_x<0 or crtc_y<0 just like my patch. What do you think about it? Thanks and best regards. Hai Lan >From 160c899739e7d07f273de889cc889316837d0790 Mon Sep 17 00:00:00 2001 From: Hai Lan Date: Tue, 1 Nov 2011 21:30:08 -0400 Subject

Re: [Intel-gfx] [PATCH] test/testdisplay:add cursor test

2011-10-22 Thread Lan, Hai
> what does this test do? For the unknowledgeable user what is supposed to > happen, that means, when is the test successful and when not? > I wrote this patch to test whether the cursor can work OK. It needs the tester to watch the screen. If the tester can see the white cursor move from left to

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 > Subjec

Re: [Intel-gfx] H.264/AVC encode, Intel(r) HD Graphics 2000/3000, linux

2011-07-19 Thread Lan, Hai
Currently there is a sample application named avcenc in libva to do the h.264 encoding. For the vaapi question, there is a mailing list named li...@lists.freedesktop.org. You can raise your question to it. Hai Lan > -Original Message- > From: intel-gfx-bounces+hai.lan=intel@lists.fr

Re: [Intel-gfx] [PATCH] Test the first mode if there is no preferred mode.

2011-06-09 Thread Lan, Hai
find the preferred Could anybody help to push this patch? Thanks. Hai Lan > -Original Message- > From: intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org > [mailto:intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org] On > Behalf Of Lan, Hai > Sent: Tuesday, May 31

Re: [Intel-gfx] Need help in installing libva-1.0.12 package as part of Graphics driver installation

2011-06-02 Thread Lan, Hai
Hi Thirunavukkarasu You can use "./autogen.sh &&./configure --enable-i965-driver&&make&&make install" to install libva. After you install libva, you can use vainfo to see the libva information. You can refer to http://intellinuxgraphics.org/vaapi.html Hai Lan From: intel-gfx-bounces+hai.lan=in

Re: [Intel-gfx] [PATCH] Test the first mode if there is no preferred mode.

2011-05-31 Thread Lan, Hai
Dear Paul Thanks for your advice. I am afraid there might be a i915 driver bug. We use the testdisplay to check the SDVO-TV and find the TV has no preferred mode. This will cause the testdisplay to quit. So I write this patch to make the testdisplay to go on. Hai Lan > -Original Message---

Re: [Intel-gfx] suggestions for Web site (was: Intel 2011Q1 release)

2011-04-19 Thread Lan, Hai
Yes, I think so if there is no discrete graphics card in your machine. Hai Lan > -Original Message- > From: Sergio Monteiro Basto [mailto:ser...@sergiomb.no-ip.org] > Sent: Tuesday, April 19, 2011 10:44 PM > To: Lan, Hai > Cc: Paul Menzel; intel-gfx@lists.freedesktop.or

Re: [Intel-gfx] suggestions for Web site (was: Intel 2011Q1 release)

2011-04-18 Thread Lan, Hai
Dear Paul, Thanks for your suggestion. http://intellinuxgraphics.org/vaapi.html has been updated. Hai Lan > -Original Message- > From: intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org > [mailto:intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org] On > Behalf Of Paul Menzel

[Intel-gfx] Recall: Q1 RC2 test report for SNB H264 encoding driver

2011-04-09 Thread Lan, Hai
Lan, Hai would like to recall the message, "Q1 RC2 test report for SNB H264 encoding driver". ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] GM45 VAAPI Issue

2011-03-23 Thread Lan, Hai
Currently GM45 has not implemented vaapi support yet. Please refer to http://intellinuxgraphics.org/vaapi.html for the vaapi support features. Hai Lan From: intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org [mailto:intel-gfx-bounces+hai.lan=intel@lists.freedesktop.org] On Behalf Of

[Intel-gfx] [PATCH 1/1] intel-gpu-tools: add test case for testdisplay

2011-01-30 Thread Lan, Hai
Add test case for dumping display into, test all mode(including clone/twin mode) and support to test forced mode in testdisplay usage: ./testdisplay [-hiaf:] -i dump info -a test all modes -f test force mode Default is to test