Re: Adaptive Sync enabling in Xorg Modesetting driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-05-25 4:58 p.m., uday kiran pichika wrote:
> Thanks Michel..
> 
> sorry if my description is not clear.
> Yes I have used with glxgears in fullscreen mode and also a simple glxapp
> which actually opens in fullscreen by default.
> 
> In both the cases, the issue is same.
> 
> Just wanted to know if AMD has done anything different apart from the
> configurations either in MESA or in its Radeon driver ?

The code you can see in xf86-video-amdgpu and Mesa is working for lots
of people, most of them outside of AMD.


I think I've spotted one bug in your changes, in ms_present_check_unflip:

    if (ms->drmmode.sprites_visible > 0)
        ms->flip_window = window;

ms_present_check_flip has:

    if (ms->drmmode.sprites_visible > 0)
        return FALSE;

    return ms_present_check_unflip(crtc, window, pixmap, sync_flip, reason);

So the condition can never be true in ms_present_check_unflip, and it
never updates ms->flip_window.


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux