radeon framebuffer tiling
Hi,
dce4_crtc_do_set_base is the only location in which EVERGREEN_GRPH_CONTROL is updated. This currently configures a non-tiled framebuffer on my SI system.
This design prevents drmModePageFlip from handling a framebuffer with a different tiling configuration.
Is this the intended architecture? i.e. All surfaces provided to drmModePageFlip should match the initial framebuffer layout, or should EVERGREEN_GRPH_CONTROL be updated on every page flip?
Signature · 5 lines
Jay Cornwall _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Jay Cornwall
Hi,
dce4_crtc_do_set_baseis the only location in whichEVERGREEN_GRPH_CONTROLis updated. This currently configures a non-tiled framebuffer on my SI system.
Quoted 6 lines
This design prevents drmModePageFlip from handling a framebuffer with a different tiling configuration.
Is this the intended architecture? i.e. All surfaces provided to drmModePageFlip should match the initial framebuffer layout, or should
EVERGREEN_GRPH_CONTROLbe updated on every page flip?
Pageflipping is only available between surfaces of the same format (i.e., we only update the base address, not the other parameters).
Alex
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Alex Deucher
Quoted 9 lines · Jay Cornwall
Hi,
dce4_crtc_do_set_baseis the only location in whichEVERGREEN_GRPH_CONTROLis updated. This currently configures a non-tiled framebuffer on my SI system.This design prevents drmModePageFlip from handling a framebuffer with a different tiling configuration.
Quoted 6 lines
Quoted 3 lines
Is this the intended architecture? i.e. All surfaces provided to drmModePageFlip should match the initial framebuffer layout, or should
EVERGREEN_GRPH_CONTROLbe updated on every page flip?Pageflipping is only available between surfaces of the same format (i.e., we only update the base address, not the other parameters).
Thanks, I got it now. KWin/Wayland is only calling drmModeSetCrtc when the buffer stride changes, but flipping once from a dumb buffer to a GBM buffer.
I've filed: https://bugs.kde.org/show_bug.cgi?id=357543
Signature · 5 lines
Jay Cornwall _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel