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

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

 



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

--- Comment #29 from Christian König (christian.koenig@xxxxxxx) ---
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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux