[RFC] ttm merge ttm_backend & ttm_tt

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

 



Hi,

So attached is patch serie (sorry for that i am away of my normal mail
config) which ultimately merge ttm_backend & ttm_tt it allows to get
rid of data duplication btw the two, especialy btw ttm_tt and driver
specific backend. So net result is less 300lines of code accross ttm
and driver.

Konrad given some of the upstream nouveau change, your patchserie
conflict and would lead to revert some nouveau fixes. I believe the
intention is to get the ttm-dma code into 3.3 (3.2 seems late but
dunno). If 3.3 is the aim than i will rebase your patch on top of this
serie, this should lower the number of change your serie needed.

Note that this is early code, only compile tested, i just wanted to
get feedback to know if anyone has objection on that.

For quick review, first 5 patches can be ignored, they are cleanup and
dead code removal or small fixes. The real action is in the last
patch.

Next set is to move page allocation through ttm_helper into the driver
thus making the whole dma stuff a driver business, driver who don't
care about dma (like vmw) could ignore it, while driver that have to
would deal with it through ttm_helper.

Cheers,
Jerome

Attachment: 0001-drm-ttm-remove-userspace-backed-ttm-object-support.patch
Description: Binary data

Attachment: 0002-drm-ttm-remove-split-btw-highmen-and-lowmem-page.patch
Description: Binary data

Attachment: 0003-drm-ttm-remove-unused-backend-flags-field.patch
Description: Binary data

Attachment: 0004-drm-ttm-convert-page-allocation-to-use-page-ptr-arra.patch
Description: Binary data

Attachment: 0005-drm-ttm-test-for-dma_address-array-allocation-failur.patch
Description: Binary data

Attachment: 0006-drm-ttm-merge-ttm_backend-and-ttm_tt.patch
Description: Binary data

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://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