From: for1984 Subject: About HD3000(sandybridge) driver on vxWorks Date: Thu, 8 Nov 2012 15:18:48 +0800 (CST) Message-ID: <799286c6.1c41e.13adee2abc7.Coremail.for1984@126.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0974067850==" Return-path: Received: from m15-17.126.com (m15-17.126.com [220.181.15.17]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C0DCA09CD for ; Wed, 7 Nov 2012 23:50:37 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0974067850== Content-Type: multipart/alternative; boundary="----=_Part_431220_1289502373.1352359128007" ------=_Part_431220_1289502373.1352359128007 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Dear Sir: My name is wenjie zhou.I come from Wuhan China. Now I am writing HD3000(sandybridge) driver on vxWorks.But,there are some problems confusing me for a long time.Please help me!Thank you! My problme is:When I use the blitter engine to realize filling the color to the rectangle,CP will stop in the first instruction(BR00).In the progrm,there are six instuction:br00,br13,br14,br09,br16 and MI_NOP.After allowing the CP to excute ,the Mode Register's bit9(Rings Idle) is set to 0.It means parser is not idle or ring arbiter is not idle.And the Error Status Register (ESR)'s bit0 will be set to 1. It means instruction error.The RING_BUFFER_HEADER register's value is 0x4.So I think the problem happened when the CP excuted the br00 instruction. When the CP excutes flush command, it works very well. I wonder why it happens? Is it relate with cache?PS:this ringbuffer program works very well on the ironlake platform. Thank you! Sincerely yours, Wenjie Zhou ------=_Part_431220_1289502373.1352359128007 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit

Dear Sir:

       My name is wenjie zhou.I come from Wuhan China. Now I am writing HD3000(sandybridge) driver on vxWorks.But,there are some problems confusing me for a long time.Please help me!Thank you!

       My problme is:When I use the blitter engine to realize filling the color to the rectangle,CP will stop in the first instruction(BR00).In the progrm,there are six instuction:br00,br13,br14,br09,br16 and MI_NOP.After allowing the CP to excute ,the Mode Register's bit9(Rings Idle) is set to 0.It means parser is not idle or ring arbiter is not idle.And the Error Status Register (ESR)'s bit0 will be set to 1. It means instruction error.The RING_BUFFER_HEADER register's value is 0x4.So I think the problem happened when the CP excuted the br00 instruction. When the CP excutes flush command, it works very well.  I wonder why it happens? Is it relate with cache?PS:this ringbuffer program works very well on the ironlake platform.
    ;    Thank you!
       Sincerely yours,
       Wenjie Zhou



------=_Part_431220_1289502373.1352359128007-- --===============0974067850== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0974067850==--