[Bug 198511] lags in youtube videos 1080p 60fps with radeon hd4650 and kernel 4.15rc8

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Jan 22 08:44:28 UTC 2018


https://bugzilla.kernel.org/show_bug.cgi?id=198511

--- Comment #29 from Christian König (christian.koenig at amd.com) ---
For this you need to call the driver IOCTL to create a buffer object directly.

Best is probably you use the Mesa code as and work from that backward, see here
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
function radeon_create_bo.

drmCommandWriteRead(), struct drm_radeon_gem_create and all the defines you
need are provided by libdrm.

Domain should be RADEON_DOMAIN_GTT in this case, flags can be zero or
RADEON_GEM_GTT_WC.

Size and alignment should be obvious.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list