[Xorg-driver-geode] The RandR-"unable to set rotation" issue in AMDGeode LX platform
Cui, Hunk
Hunk.Cui at amd.com
Thu Jun 10 20:36:18 PDT 2010
Hi, Mitch,
About the RandR-"unable to set rotation" issue, I have to follow up, as Frank said, the focus is dst offset, it is not correct transfer after lx_crtc_shadow_create.
Now I describe my method,
1. Compared the Xserver 1.6.4/1.7.1, found the common points is allocate the crtc->rotatedData, then the DataAddress will be writen into fb_ptr and sys_ptr (fb_ptr is the address of the pixmap in vram (the gpu's copy) and sys_ptr is the address of the pixmap in system memory.) Because it will get the offset of gpu accessable pixmaps, they should have a fb_ptr since they are in offscreen memory. Getting an offset relative to the offscreen memory base for memory.
2. In Xserver 1.6.4, it have a judge in Get exa pixmapOffset, it can use sys_ptr to do. and it >Xserver 1.7.1, only have the fb_ptr, so there is the error point.
I have been found the key point, it will need some time to fix it. Please be patient. Any new info, I will update to community. If you have any other new discovery, please tell me.
Thanks,
Hunk Cui
-----Original Message-----
From: xorg-driver-geode-bounces+hunk.cui=amd.com at lists.x.org [mailto:xorg-driver-geode-bounces+hunk.cui=amd.com at lists.x.org] On Behalf Of Mitch Davis
Sent: Friday, June 11, 2010 10:17 AM
To: xorg-driver-geode at lists.x.org
Subject: [Xorg-driver-geode] The RandR-"unable to set rotation" issue in AMDGeode LX platform
Hello guys,
Thank you to Mart Raudsepp (leio) and Frank Huang who helped me in the
#geode IRC channel last night!
Frank said:
> another colleague has trace the code.
> The destination offset is not correct
>
> the rotation is another blend type in lx_do_composite
> And the real work is in lx_composite_rotate
> From my point, this function works well.
> the keypoint is that the dest offset is not correct given to lx_do_composite
> so the rotation result is not displayed on the screen
> But the rotation work has been done.
>
> we are working on this. I think we will get this bug fixed.
> So be patient to the result of our work
I am using an Aaeon 5315 board with a Geode LX. I need to do screen
rotation, and I've also found the black screen rotation bug mentioned
on the mailing list last week. I am really looking forward to trying
out a new version!
Thanks for your help,
Mitch.
_______________________________________________
Xorg-driver-geode mailing list
Xorg-driver-geode at lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-geode
More information about the Xorg-driver-geode
mailing list