[lkml]   [2020]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] MIPS: Define pgprot_dmacoherent according to coherentio status

于 2020年1月13日 GMT+08:00 下午10:58:20, Christoph Hellwig <> 写到:
>On Mon, Jan 13, 2020 at 10:07:04PM +0800, Jiaxun Yang wrote:
>> For MIPS chips that support coherentio DMA, it's always safe
>> to make DMA requests cached.
>For DMA coherent devices pgprot_dmacoherent isn't even used, so this
>doesn't make sense.


I'm supposed to use it later in drm/ttm
ttm_bo_util to overwrite pgprot for TTM_PL_SYSTEM.
And I wish this pgropt can always represent dmacoherent pgropt.
Would it be fine?


Jiaxun Yang

 \ /
  Last update: 2020-01-13 16:13    [W:0.085 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site