RE: Question about the modesetting on X server

2011-05-02 Thread Huang, FrankR
f Of Alan > Coopersmith > Sent: 2011?4?28? 15:26 > To: Huang, FrankR > Cc: xorg-de...@lists.freedesktop.org > Subject: Re: Question about the modesetting on X server > > On 04/27/11 10:26 PM, Huang, FrankR wrote: > > Okay. I understand that. But how the X server knows that no c

RE: Question about the modesetting on X server

2011-04-27 Thread Huang, FrankR
Alan Coopersmith [mailto:alan.coopersm...@oracle.com] > Sent: 2011年4月28日 11:06 > To: Huang, FrankR > Cc: xorg-de...@lists.freedesktop.org > Subject: Re: Question about the modesetting on X server > > On 04/27/11 07:46 PM, Huang, FrankR wrote: > > Hi, all > > > >

Question about the modesetting on X server

2011-04-27 Thread Huang, FrankR
Hi, all Right now, I am working on the graphics driver and use X server architecture as our base. I finished the modeset part now. But I encounter a problem that puzzled me. As you know, in dix_main(), the mode will be set in xf86CrtcCreateScreenResources. Then the code will go to

Question about the modesetting on X server

2011-04-27 Thread Huang, FrankR
Hi, all Right now, I am working on the graphics driver and use X server architecture as our base. I finished the modeset part now. But I encounter a problem that puzzled me. As you know, in dix_main(), the mode will be set in xf86CrtcCreateScreenResources. Then the code will go to

RE: A question about the gtf setting

2010-10-15 Thread Huang, FrankR
Learn much! See below. By the way, any good document to describe CRTC? > [skip] > If the panel only supports 1024x...@60hz, just add that mode in the > probe() function for your LVDS output and reject the other modes in > the mode_valid() function unless your panel hw has a scaler in which > case

RE: A question about the gtf setting

2010-10-14 Thread Huang, FrankR
Alex, Appreciate your sooner reply in detail. And you must have read my mail between xorg-devel guys and I. Thanks also for your care on geode thing. You show me a very good example of ATI *_mode_valid() to refer. See below for my question: > For flat panels, you may want to use cvt rather than

Mode_valid function workaround method for geode

2010-10-13 Thread Huang, FrankR
Julien, Adam, Matthew, Matt, thanks a lot for you to give me suggestion and explanation in detail on my patch for *_mode_valid. Always I appreciate any feedback from the community. We are all for good code. I am also a coder and driver maintainer, so I hate wrong code too, especially that

RE: [Xorg-driver-geode] xf86-video-geode: Changes to 'master'

2010-10-11 Thread Huang, FrankR
Thanks for your mail. I have read this part code and use DDD to debug in X server. I can answer you question as far as I can. See my reply below. > OK, let me see if I can explain: > > The purpose of the *_mode_valid function in each device-dependent X > ...[snip] Agree. > > xf86-video-ati's h

RE: [Xorg-driver-geode] xf86-video-geode: Changes to 'master'

2010-10-11 Thread Huang, FrankR
> -Original Message- > From: Matthew Garrett [mailto:mj...@srcf.ucam.org] > Sent: 2010?10?12? 9:28 > To: Huang, FrankR > Cc: Otavio Salvador; Adam Jackson; xorg-devel@lists.x.org; Geode Mailing > List; Julien Cristau > Subject: Re: [Xorg-driver-geode] xf86-video-geod

RE: [Xorg-driver-geode] xf86-video-geode: Changes to 'master'

2010-10-11 Thread Huang, FrankR
See my reply. Otavio, Please see the reply too. > -Original Message- > From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org > [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On > Behalf Of Matthew Garrett > Sent: 2010?10?11? 20

RE: xf86-video-geode: Changes to 'master'

2010-10-11 Thread Huang, FrankR
accept all constructive suggestion. We still need much help from the community and your experienced guys. Thanks, Frank > -Original Message- > From: Adam Jackson [mailto:a...@nwnk.net] > Sent: 2010年10月12日 2:37 > To: Huang, FrankR > Cc: Julien Cristau; Otavio Salvador; Geo

RE: xf86-video-geode: Changes to 'master'

2010-10-10 Thread Huang, FrankR
bounces+frankr.huang=amd@lists.x.org] On Behalf Of Adam Jackson > Sent: 2010年9月30日 22:14 > To: Huang, FrankR > Cc: Geode Mailing List; q-f...@iki.fi; xorg-devel@lists.x.org; Otavio > Salvador; Julien Cristau > Subject: RE: xf86-video-geode: Changes to 'master' > &g

RE: xf86-video-geode: Changes to 'master'

2010-09-30 Thread Huang, FrankR
Agree. But that will revert totally 5/29/2010 patch. Thanks, Frank > -Original Message- > From: Julien Cristau [mailto:jcris...@debian.org] > Sent: 2010?9?30? 14:28 > To: Huang, FrankR > Cc: Geode Mailing List; q-f...@iki.fi; xorg-devel@lists.x.org > Subject: Re

RE: xf86-video-geode: Changes to 'master'

2010-09-30 Thread Huang, FrankR
So we can keep the current git code with no change. > -Original Message- > From: Julien Cristau [mailto:jcris...@debian.org] > Sent: 2010?9?30? 15:47 > To: Huang, FrankR > Cc: Otavio Salvador; Geode Mailing List; q-f...@iki.fi; xorg- > de...@lists.x.org > Subject:

RE: xf86-video-geode: Changes to 'master'

2010-09-29 Thread Huang, FrankR
See below: > This looks broken.  lx_output_mode_valid() now returns MODE_OK for every > possible mode, but takes great pains to get there.  The commit message > doesn't help, I have no idea what it's trying to say. I have not received your mail until Martin forwarded it to me just now. If you don

Mode validation issue in geode driver

2010-09-27 Thread Huang, FrankR
According to my debug on X server and geode driver, I am more clear about this part code(src/lx_output.c lx_output_mode_valid()). In the X server function xf86ProbeOutputModes(), there are three types of modes. They are conf_modes, output_modes, default_modes. 1)The Modeline in xorg.conf is record

RE: FC13 boot up with broken screen

2010-09-15 Thread Huang, FrankR
se upgrade your Xserver to the lastest. Thanks, Frank > -Original Message- > From: Huang, FrankR > Sent: 2010?9?10? 15:39 > To: Geode Mailing List > Cc: 'billi...@thankyou2010.com'; 'boche...@fedoraproject.org'; xorg- > de...@lists.x.org > Subjec

FC13 boot up with broken screen

2010-09-10 Thread Huang, FrankR
During this period after 2.11.9 geode driver release , I deployed FC13 on geode platform using an LiveUSB and trace the bug in Fedora BTS 616161 and 540441. >From the experiment and debug of users(billiboy, Mathieu), they found that in FC13, there is underlying bug. The picture of bug can be got fr

RE: Xalloc/Xfree/Xrealloc is deprecated

2010-08-31 Thread Huang, FrankR
Thanks. Make a patch to geode driver. > -Original Message- > From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg- > devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Mikhail > Gusarov > Sent: 2010?8?31? 15:15 > To: Huang, FrankR > Cc: Geo

Xalloc/Xfree/Xrealloc is deprecated

2010-08-31 Thread Huang, FrankR
Hi, all When compiling the Geode driver with lastest X server(1.9), Some warnings are reported: "Warning: 'Xalloc/Xfree/Xrealloc' is deprecated" What are the replacement functions for these deprecated functions? Thanks, Frank _

RE: [Xorg-driver-geode] last call for testing: X.orgGeode2.11.9 release candidate

2010-08-18 Thread Huang, FrankR
the region to back. Thanks, Frank > -Original Message- > From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org > [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On > Behalf Of Mart Raudsepp > Sent: 2010年8月16日 18:59 > To: Cui, Hunk > Cc:

Rendering bug fix status before 2.11.9 release

2010-08-13 Thread Huang, FrankR
Hi, all Before the new driver version(2.11.9) to be released in the next week, I want to make you be clear about the rendering work status now. Before my work on this part, Mart has contribute to the "No icon" bug, that is only tip of the iceberg. Right now, the outstanding

RE: Rendering in geode

2010-08-05 Thread Huang, FrankR
al.com] > Sent: 2010?6?14? 18:07 > To: Huang, FrankR > Cc: xorg-devel@lists.x.org; xorg-driver-ge...@lists.x.org > Subject: RE: Rendering in geode > > On Sun, 2010-06-13 at 16:47 +0800, Huang, FrankR wrote: > > You know when the driver does the composite, it is calle

RE: [Xorg-driver-geode] Rendering in geode

2010-07-30 Thread Huang, FrankR
. Thanks, Frank > -Original Message- > From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org > [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On > Behalf Of Jonathan Morton > Sent: 2010?6?14? 18:07 > To: Huang, FrankR > Cc: xorg-driver-ge

RE: How to add the screen resoution support in driver?

2010-07-29 Thread Huang, FrankR
essage- > From: Adam Jackson [mailto:a...@nwnk.net] > Sent: 2010年7月30日 1:31 > To: Huang, FrankR > Cc: xorg-devel@lists.x.org > Subject: Re: How to add the screen resoution support in driver? > > On Wed, 2010-07-28 at 09:09 +0800, Huang, FrankR wrote: > > Have a questi

How to add the screen resoution support in driver?

2010-07-27 Thread Huang, FrankR
Have a question to ask: We want to support some wide-screen resolutions in our platform under linux. And we hope that can be recognized in the applet Preferences->Display->Resolution. Can you tell me what the mechanism in that? That is to say, how the application under desktop can recognize the res

RE: Glyph rendering

2010-07-25 Thread Huang, FrankR
00/s They are improved 10 times than before. Thanks, Frank > -Original Message- > From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: 2010年7月21日 16:24 > To: Huang, FrankR > Cc: Mart Raudsepp; Torres, Rigo; Writer, Tim; xorg-devel@lists.x.org; > x

RE: Glyph rendering

2010-07-21 Thread Huang, FrankR
Have corrected the quoting format in MS outlook. Better? Thanks, Frank > -Original Message- > From: Michel Dänzer [mailto:mic...@daenzer.net] > Sent: 2010年7月21日 16:24 > To: Huang, FrankR > Cc: Mart Raudsepp; Torres, Rigo; Writer, Tim; xorg-devel@lists.x.org; &

RE: Glyph rendering

2010-07-21 Thread Huang, FrankR
-Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: 2010年7月21日 15:56 To: Huang, FrankR Cc: Mart Raudsepp; Deucher, Alexander; Torres, Rigo; Writer, Tim; xorg-devel@lists.x.org; xorg-driver-ge...@lists.x.org; Cui, Hunk Subject: RE: Glyph rendering On Mit, 2010-07

RE: Glyph rendering

2010-07-21 Thread Huang, FrankR
ccept this way right now. Thanks, Frank -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: 2010年7月21日 15:18 To: Huang, FrankR Cc: Alex Deucher; Mart Raudsepp; Torres, Rigo; Writer, Tim; xorg-devel@lists.x.org; xorg-driver-ge...@lists.x.org; Cui, Hunk; Deucher, Alex

RE: Glyph rendering

2010-07-20 Thread Huang, FrankR
function to do the PICT_a8 add operation( MAX(x+y, 255)), the result is right. And the performance has grown up to 23700/s. It is same as using "NoAccel" way:). Thanks, Frank -Original Message- From: Alex Deucher [mailto:alexdeuc...@gmail.com] Sent: 2010?7?21? 0:41 To: Huang,

RE: Glyph rendering

2010-07-19 Thread Huang, FrankR
Alex, So long mail. I put the feedback here. 1)For the repeat, I have debug the code that our driver's repeatType is RepeatNormal. And we should add the code to fallback when it is RepeatPad or RepeatReflect. 2)For the transformPoint, our geode has the same code y

RE: [Xorg-driver-geode] Rendering in geode

2010-07-15 Thread Huang, FrankR
nks, Frank -Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?7?14? 18:45 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: [X

RE: [Xorg-driver-geode] Rendering in geode

2010-07-13 Thread Huang, FrankR
? Thanks, Frank On Mon, 2010-07-12 at 09:52 +0800, Huang, FrankR wrote: > picture_10x10[0].pict = XRenderCreatePicture(dpy, > picture_10x10[0].d, picture_10x10[0].format, CPRepeat, &pa); > XRenderComposite(dpy, PictOpOver, picture_10x10[0].pict, 0, > win->pict, 5, 11,

RE: [Xorg-driver-geode] Rendering for rotation

2010-07-13 Thread Huang, FrankR
queezed. How that happened? Is our driver's work? Just very curious about that:) Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?7?12? 23:49 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE

RE: [Xorg-driver-geode] Rendering for rotation

2010-07-11 Thread Huang, FrankR
-Original Message- From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010?7?12? 11:23 To: Jonathan Morton Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject:

RE: [Xorg-driver-geode] Rendering for rotation

2010-07-11 Thread Huang, FrankR
our driver work correctly. Any document? Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?7?10? 0:46 To: Huang, FrankR Cc: Mart Raudsepp; xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: [Xorg-driver-geode] Rendering f

RE: [Xorg-driver-geode] Rendering in geode

2010-07-11 Thread Huang, FrankR
.@movial.com] Sent: 2010?7?10? 0:34 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: [Xorg-driver-geode] Rendering in geode > > If Repeat is Normal (1), then the coordinate is wrapped back into > > the image using the modulus (%) operation. This is

RE: [Xorg-driver-geode] Rendering in geode

2010-07-08 Thread Huang, FrankR
?6?14? 18:07 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: Re: [Xorg-driver-geode] Rendering in geode On Sun, 2010-06-13 at 16:47 +0800, Huang, FrankR wrote: > You know when the driver does the composite, it is called in > exaTryDriverCom

RE: [Xorg-driver-geode] Rendering for rotation

2010-07-08 Thread Huang, FrankR
Raudsepp [mailto:l...@gentoo.org] Sent: 2010?7?8? 19:00 To: Jonathan Morton Cc: Huang, FrankR; xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: Re: [Xorg-driver-geode] Rendering for rotation On N, 2010-07-08 at 13:45 +0300, Jonathan Morton wrote: > On Thu, 2010-07-08 at 17:17 +0

Rendering for rotation

2010-07-08 Thread Huang, FrankR
Jonathan, Have a question for render operation on rotation. I fixed the bug in lx_do_composite in geode driver. srcX and srcY are same as maskX and maskY. When I calculate the renderging region, I need to use "maskWidth - maskX" and "maskHeight - maskY" if Mask is not zero.

FW: [Xorg-driver-geode] [PATCH 1/5] Correctly calculatethe rendering region with the mask picture

2010-07-05 Thread Huang, FrankR
-Original Message- From: Huang, FrankR Sent: 2010年7月5日 14:53 To: 'Mart Raudsepp' Cc: xorg-driver-ge...@lists.x.org Subject: RE: [Xorg-driver-geode] [PATCH 1/5] Correctly calculatethe rendering region with the mask picture Mart, Good review. I must say thanks for

RE: Rendering in geode

2010-07-01 Thread Huang, FrankR
One line hint is enough sometimes:) -Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?7?1? 17:56 To: Huang, FrankR Cc: Mart Raudsepp; xorg-driver-ge

RE: Rendering in geode

2010-07-01 Thread Huang, FrankR
uang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of mic...@daenzer.net Sent: 2010年6月30日 17:44 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: Rendering in geode On Mon, 2010-06-28 at 17:38 +0800, Huang, Fran

RE: [Xorg-driver-geode] Rendering in geode

2010-06-29 Thread Huang, FrankR
Can you make it clear? -Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?6?29? 17:24 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel

RE: [Xorg-driver-geode] Rendering in geode

2010-06-29 Thread Huang, FrankR
uffer is not big enough, how do we do that? Thanks, Frank -Original Message- From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?6?24? 20:03 To: Huang, FrankR Cc: xorg-d

RE: [Xorg-driver-geode] Rendering in geode

2010-06-28 Thread Huang, FrankR
river-geode-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?6?24? 20:03 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: Re: [Xorg-driver-geode] Rendering in geod

RE: [Xorg-driver-geode] Rendering in geode

2010-06-28 Thread Huang, FrankR
ly with refresh button, so that can make sure the memory use could have some problem. Rendering bug has been fixed by my patch. Thanks, Frank -Original Message- From: Writer, Tim [mailto:tim.wri...@amd.com] Sent: 2010?6?29? 0:13 To: xorg-driver-ge...@lists.x.org Cc: Huang, FrankR; Jonat

RE: [Xorg-driver-geode] (no subject)

2010-06-28 Thread Huang, FrankR
don't want. Thanks, Frank -Original Message- From: xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Alex Deucher Sent: 2010?6?12? 23:34 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org;

RE: Rendering in geode

2010-06-28 Thread Huang, FrankR
cache.. The rendering patch itself is correct. I feel good about that:). Research more... Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?6?22? 20:23 To: Huang, FrankR Cc: Matt Dew; xorg-driver-ge...@lists.x.org; xorg

RE: Rendering in geode

2010-06-25 Thread Huang, FrankR
+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?6?24? 20:03 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: Rendering in geode On Thu, 2010-06-24 at 17:21 +0800, Huang, FrankR wrote: > The reason I use 4*PITCH is that the src is

RE: Rendering in geode

2010-06-24 Thread Huang, FrankR
- -Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd....@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010?6?23? 20:57 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: Rendering i

RE: Rendering in geode

2010-06-23 Thread Huang, FrankR
Michel, I will give a check to see how the driver's do_composite is handled with PictOpOver. Thanks, Frank -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: 2010年6月23日 17:01 To: Huang, FrankR Cc: Jonathan Morton; xorg-driver-ge...@lists.x.org; xorg-

RE: Rendering in geode

2010-06-23 Thread Huang, FrankR
rendering, that could be better. I don't know how to narrow down this bug. If other program can reproduce it, it is better. Any advice to this? Rendercheck ? Frank -Original Message- From: Michel Dänzer [mailto:mic...@daenzer.net] Sent: 2010年6月23日 16:23 To: Huang, FrankR Cc: Jonathan M

RE: Rendering in geode

2010-06-23 Thread Huang, FrankR
want to know how could I find the root cause for this. Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?6?22? 20:23 To: Huang, FrankR Cc: Matt Dew; xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: Rendering in geode

RE: Rendering in geode

2010-06-22 Thread Huang, FrankR
: Matt Dew Cc: Huang, FrankR; xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: Re: Rendering in geode > > An unfortunate fact of EXA is that you need to throughly understand > > XRender's requirements when implementing the Composite function. > > This is fair

RE: Rendering in geode

2010-06-20 Thread Huang, FrankR
Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?6?19? 5:48 To: Huang, FrankR Cc: xorg-devel@lists.x.org; xorg-driver-ge...@lists.x.org Subject: Re: Rendering in geode On 17 June 2010 10:48, Huang, FrankR wrote: > What I want to ask is that does dri

RE: Rendering in geode

2010-06-17 Thread Huang, FrankR
Morton, I modify the geode driver on the condition 1). The bug is solved by applying the correct way. But I still need your answers for my questions below:). You give me great help:). Thanks, Frank -Original Message- From: Huang, FrankR Sent: 2010?6?17? 15:48 To

RE: Rendering in geode

2010-06-17 Thread Huang, FrankR
for put the rendering back to Xserver SW method. I can add some code to this special condition, but these questions above puzzle me. Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010?6?14? 18:07 To: Huang, FrankR Cc: xorg-devel

RE: [Xorg-driver-geode] [PATCH 1/7] Prevent the pixmap migrationif the geode GP can not do the acceleration.

2010-06-13 Thread Huang, FrankR
-Original Message- From: Mart Raudsepp [mailto:l...@gentoo.org] Sent: 2010?6?14? 6:50 To: Huang, FrankR Cc: xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: Re: [Xorg-driver-geode] [PATCH 1/7] Prevent the pixmap migrationif the geode GP can not do the acceleration. On P

RE: Rendering in geode

2010-06-13 Thread Huang, FrankR
0, 0, 50, 50, 40, 40) The source is a 10x10 pixmap, but the srcX is 11. The rendering result is none! I think the driver should refuse that parameter to do the rendering. It will bring chaos operation. That is my thought. Thanks, Frank -Original Message- From: Huang, FrankR Sent

Rendering in geode

2010-06-12 Thread Huang, FrankR
Resend it. Forget the subject. -Original Message- From: Huang, FrankR Sent: 2010?6?12? 17:43 To: 'jonathan.mor...@movial.com' Cc: 'xorg-devel@lists.x.org'; xorg-driver-ge...@lists.x.org Subject: Morton, After I fix the PictOpOver operation, the geo

[no subject]

2010-06-12 Thread Huang, FrankR
Morton, After I fix the PictOpOver operation, the geode still has another rendering issue. That is also serious. I attached a picture, please take a look. I have not find the root cause. I use this simple gtk program to reproduce. When I move the mouse on the button, some green add

RE: Patch for rendering

2010-06-09 Thread Huang, FrankR
Mart, Separate the big patch into seven patches for your review. Thanks a lot for help us get close to community. Frank -Original Message- From: Huang, FrankR Sent: 2010年6月7日 12:03 To: 'q-f...@iki.fi' Cc: Mart Raudsepp; Torres, Rigo; Writer, Tim; Tanguay,

Patches for rendering in geode

2010-06-08 Thread Huang, FrankR
0001-In-order-to-prevent-the-pixmap-migration-return-to-X.patch Description: 0001-In-order-to-prevent-the-pixmap-migration-return-to-X.patch 0002-Add-the-maskrepeat-variable-to-record-if-the-mask-pi.patch Description: 0002-Add-the-maskrepeat-variable-to-record-if-the-mask-pi.patch 0003-

RE: Premultiplied alpha handle for driver

2010-06-06 Thread Huang, FrankR
Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月4日 17:40 To: Huang, FrankR Cc: Alex Deucher; Siarhei Siamashka; xorg-devel@lists.x.org Subject: Re: Premultiplied alpha handle for driver > If the screen depth is 16bit(for geode, RGB565). I think there must be some > color lose in

RE: Premultiplied alpha handle for driver

2010-06-06 Thread Huang, FrankR
-Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月4日 20:06 To: Huang, FrankR Cc: Siarhei Siamashka; xorg-devel@lists.x.org Subject: RE: Premultiplied alpha handle for driver On Fri, 2010-06-04 at 10:20 +0800, Huang, FrankR wrote: > I still want to

RE: Premultiplied alpha handle for driver

2010-06-04 Thread Huang, FrankR
Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月2日 2:02 To: Siarhei Siamashka Cc: xorg-devel@lists.x.org; Huang, FrankR Subject: Re: Premultiplied alpha handle for driver On Tue, 2010-06-01 at 19:26 +0300, Siarhei Siamashka wrote: > On Tuesday 01 June 2010, Jonathan Morton wrote: > &g

Patch for rendering

2010-06-03 Thread Huang, FrankR
Hi, all The patch for rendering bug in geode driver. Release the first version here for your test. Thanks, Frank lx_exa_patch Description: lx_exa_patch ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/

RE: Premultiplied alpha handle for driver

2010-06-03 Thread Huang, FrankR
, FrankR Subject: Re: Premultiplied alpha handle for driver On Tue, 2010-06-01 at 19:26 +0300, Siarhei Siamashka wrote: > On Tuesday 01 June 2010, Jonathan Morton wrote: > > On Mon, 2010-05-31 at 10:42 +0800, Huang, FrankR wrote: > > > We know the premultiplied alpha will be used

RE: Premultiplied alpha handle for driver

2010-06-03 Thread Huang, FrankR
think there must be some color lose in ARGB32 format to RGB565. So the result is a little color distortion. In general, how do you handle it? Thanks, Frank -Original Message- From: Alex Deucher [mailto:alexdeuc...@gmail.com] Sent: 2010年6月3日 22:09 To: Huang, FrankR Cc: Jonathan Morton

RE: Premultiplied alpha handle for driver

2010-06-03 Thread Huang, FrankR
200pro.png is the ATI X1200 result for progressbar. Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月2日 2:02 To: Siarhei Siamashka Cc: xorg-devel@lists.x.org; Huang, FrankR Subject: Re: Premultiplied alpha handle for driver On Tue, 2010-06

RE: [Xorg-driver-geode] Rendering issue update

2010-06-01 Thread Huang, FrankR
+(1-a)*B to do the OVER operation. See datasheet of Geode on GP_RASTER_MODE for detail. I'll correct this huge bug and let you know my result. Thanks, Frank ____ From: Huang, FrankR Sent: 2010年5月24日 18:49 To: Huang, FrankR; xorg-driver-ge...@lists.x

RE: Premultiplied alpha handle for driver

2010-06-01 Thread Huang, FrankR
you, Morton. Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月1日 19:31 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: RE: Premultiplied alpha handle for driver On Tue, 2010-06-01 at 18:55 +0800, Huang, FrankR wrote: > So I just w

RE: Premultiplied alpha handle for driver

2010-06-01 Thread Huang, FrankR
Very useful. I modified my driver and gave a try. Let you know my result:) Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月1日 19:31 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: RE: Premultiplied alpha handle for driver On

RE: Premultiplied alpha handle for driver

2010-06-01 Thread Huang, FrankR
rendercolor, 0, 0, 1, 1); Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年6月1日 18:06 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: Re: Premultiplied alpha handle for driver On Mon, 2010-05-31 at 10:42 +0800, Huang, FrankR wrote: > W

RE: Premultiplied alpha handle for driver

2010-05-31 Thread Huang, FrankR
Any update? From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010年5月31日 10:42 To: xorg-devel@lists.x.org Subject: Premultiplied alpha handle for driver

Premultiplied alpha handle for driver

2010-05-30 Thread Huang, FrankR
Hi all, A question to ask. We know the premultiplied alpha will be used sometimes in blend. Is that used in the graphics driver? Take an example: If we use a XRenderComposite() function to do the rendering:

RE: GTK progressbar call on XRenderComposite

2010-05-29 Thread Huang, FrankR
-Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010年5月29日 16:17 To: Jonathan Morton Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call

RE: GTK progressbar call on XRenderComposite

2010-05-29 Thread Huang, FrankR
g=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010年5月29日 16:10 To: Jonathan Morton Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call on XRenderComposite Thanks. Is there any difference in RGB24 and ARGB32 to display them on the screen without mask(mask=0)? The sa

RE: GTK progressbar call on XRenderComposite

2010-05-29 Thread Huang, FrankR
From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年5月28日 22:18 To: Huang, FrankR Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call on XRenderComposite On Fri, 2010-05-28 at 15:34 +0800, Huang, FrankR wrote: > I know if the source pict format

RE: [Xorg-driver-geode] Rendering issue update

2010-05-28 Thread Huang, FrankR
, FrankR Sent: 2010年5月24日 18:49 To: Huang, FrankR; xorg-driver-ge...@lists.x.org; xorg-devel@lists.x.org Subject: RE: [Xorg-driver-geode] Rendering issue update Hi,all I am now using the rendercheck application from freedesktop to test the rendering issue of geode driver. Many guys suggested me

RE: GTK progressbar call on XRenderComposite

2010-05-28 Thread Huang, FrankR
do multiply each color. For example Red*alpha, Green*alpha, Blue*alpha. If the source pict format is ARGB32, how the calculate comes on? And what's the difference between Composite and CompositeCA? Thanks, Frank -Original Message- From: Huang, FrankR Sent: 2010年5月21日 15:

RE: [Xorg-driver-geode] Rendering issue update

2010-05-24 Thread Huang, FrankR
-geode-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-driver-geode-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010年5月12日 17:13 To: xorg-driver-ge...@lists.x.org Subject: [Xorg-driver-geode] Rendering issue update Hi, all For the

RE: GTK progressbar call on XRenderComposite

2010-05-21 Thread Huang, FrankR
And after that, I think I can give patch to rendercheck:) -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年5月21日 16:17 To: Huang, FrankR Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call on XRenderComposite On Fri

RE: GTK progressbar call on XRenderComposite

2010-05-21 Thread Huang, FrankR
.mor...@movial.com] Sent: 2010年5月21日 16:17 To: Huang, FrankR Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call on XRenderComposite On Fri, 2010-05-21 at 15:51 +0800, Huang, FrankR wrote: > Ok. The test is huge for the format. The whole format number(nformats) >

RE: GTK progressbar call on XRenderComposite

2010-05-21 Thread Huang, FrankR
c(Dst,Over,Clear)... I'll go on:) Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年5月21日 14:59 To: Huang, FrankR Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: RE: GTK progressbar call on XRenderComposite On Fri, 2010-05-2

RE: GTK progressbar call on XRenderComposite

2010-05-20 Thread Huang, FrankR
, Frank -Original Message- From: xorg-devel-bounces+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010年5月20日 21:49 To: Huang, FrankR Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: Re: GTK progressbar

RE: GTK progressbar call on XRenderComposite

2010-05-20 Thread Huang, FrankR
xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Jonathan Morton Sent: 2010年5月20日 21:49 To: Huang, Frank Cc: xorg-devel@lists.x.org; gtk-l...@gnome.org Subject: Re: GTK progressbar call on XRenderComposite On Thu, 2010-05-20 at 16:11 +0800, Huang, FrankR wrote: > I have use XFlus

GTK progressbar call on XRenderComposite

2010-05-20 Thread Huang, FrankR
Hi, all A question to ask. Using a gtk program to draw a progressbar on the screen using gtk_progress_bar_new() function. Finding the cairo will call the XRenderComposite() several times. But I found that only the last XRenderComposite() will let the display

RE: Composite Quesiton

2010-05-19 Thread Huang, FrankR
Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年5月18日 21:12 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: RE: Composite Quesiton On Tue, 2010-05-18 at 11:10 +0800, Huang, FrankR wrote: > I have used OVER operation to produce what I want on RS690 platform. > But in the geode dri

RE: Composite Quesiton

2010-05-18 Thread Huang, FrankR
en turn to it. Thanks, Frank -Original Message- From: Jonathan Morton [mailto:jonathan.mor...@movial.com] Sent: 2010年5月18日 21:12 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: RE: Composite Quesiton On Tue, 2010-05-18 at 11:10 +0800, Huang, FrankR wrote: > I have used OVER op

RE: Composite Quesiton

2010-05-17 Thread Huang, FrankR
...@movial.com] Sent: 2010年5月17日 19:15 To: Huang, FrankR Cc: xorg-devel@lists.x.org Subject: Re: Composite Quesiton On Mon, 2010-05-17 at 17:39 +0800, Huang, FrankR wrote: > You can imagine the result of this test. I attached the > result of this application. I can understand the green part

Composite Quesiton

2010-05-17 Thread Huang, FrankR
Hi, all I want to ask you guys a question about composite. A condition: dest: a 100x100 picture(all white color) source: a 1x1 picture with repeat parameter (PICT_x8r8g8b8, color green)

RE: How the Server do the SW rendering?

2010-05-06 Thread Huang, FrankR
+frankr.huang=amd@lists.x.org [mailto:xorg-devel-bounces+frankr.huang=amd@lists.x.org] On Behalf Of Huang, FrankR Sent: 2010年5月4日 11:26 To: xorg-devel@lists.x.org Subject: How the Server do the SW rendering? I trace the server rendering process using geode driver. When the picture format is

How the Server do the SW rendering?

2010-05-03 Thread Huang, FrankR
I trace the server rendering process using geode driver. When the picture format is not in PICT_a4 or PICT_a8, the rendering work is done by Software. More concretely, the fbComposite(). But when the fbComposite() is done, the rendering work result has not been displayed on the screen. Can you gu

No icon on the gnome desktop using geode driver

2010-04-08 Thread Huang, FrankR
Hi, all This is AMD guy. We need some help from the community. Right now, we are debugging the geode driver. In three BTS, the big issue is the "no icon" bug on the desktop. I have written some simple Xlib programs trying to reproduce this issue because i

Re: A question for Xserver debug

2010-03-24 Thread Huang, FrankR
Xserver debug To: Alan Coopersmith Cc: "Huang, FrankR" , xorg-devel@lists.x.org Message-ID: <1269451165.10304.146.ca...@atropine.boston.devel.redhat.com> Content-Type: text/plain; charset="utf-8" On Wed, 2010-03-24 at 06:20 -0700, Alan Coopersmith wrote: > Hu

A question for Xserver debug

2010-03-24 Thread Huang, FrankR
Hi,all I am debugging the xserver code now. But one thing has puzzled me. When I add some modification to /dix/main.c , then make & make install. Though the new main.c file has been compiled, no modification effect display. After that, I do some modification

Geode driver maintain

2010-03-17 Thread Huang, FrankR
Hi, all Since Jordan Crouse left AMD, the geode driver has not been maintained for quite a long time. Many bugs have been reported via the BTS on three linux distribution version. So we prepared to restart our work Jordan has left before. Torres Rigo and I(Frank Huang) want to catc

  1   2   >