Revision 30f92d62e5b41a94de2d0bbd677a6ea2fcfed74f authored by Akinobu Mita on 06 September 2017, 10:15:31 UTC, committed by Christoph Hellwig on 11 September 2017, 16:29:38 UTC
The initial chunk size for host memory buffer allocation is currently PAGE_SIZE << MAX_ORDER. MAX_ORDER order allocation is usually failed without CONFIG_DMA_CMA. So the HMB allocation is retried with chunk size PAGE_SIZE << (MAX_ORDER - 1) in general, but there is no problem if the retry allocation works correctly. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> [hch: rebased] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Cc: stable@vger.kernel.org
1 parent 92dc689
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 5.2 KB |
Makefile | -rw-r--r-- | 805 bytes |
agp.h | -rw-r--r-- | 8.8 KB |
ali-agp.c | -rw-r--r-- | 10.0 KB |
alpha-agp.c | -rw-r--r-- | 5.3 KB |
amd-k7-agp.c | -rw-r--r-- | 15.2 KB |
amd64-agp.c | -rw-r--r-- | 20.1 KB |
ati-agp.c | -rw-r--r-- | 14.5 KB |
backend.c | -rw-r--r-- | 8.9 KB |
compat_ioctl.c | -rw-r--r-- | 7.4 KB |
compat_ioctl.h | -rw-r--r-- | 4.3 KB |
efficeon-agp.c | -rw-r--r-- | 12.3 KB |
frontend.c | -rw-r--r-- | 23.7 KB |
generic.c | -rw-r--r-- | 36.3 KB |
hp-agp.c | -rw-r--r-- | 13.2 KB |
i460-agp.c | -rw-r--r-- | 18.5 KB |
intel-agp.c | -rw-r--r-- | 28.0 KB |
intel-agp.h | -rw-r--r-- | 6.6 KB |
intel-gtt.c | -rw-r--r-- | 36.5 KB |
isoch.c | -rw-r--r-- | 12.9 KB |
nvidia-agp.c | -rw-r--r-- | 12.5 KB |
parisc-agp.c | -rw-r--r-- | 10.1 KB |
sgi-agp.c | -rw-r--r-- | 7.7 KB |
sis-agp.c | -rw-r--r-- | 11.1 KB |
sworks-agp.c | -rw-r--r-- | 15.2 KB |
uninorth-agp.c | -rw-r--r-- | 18.0 KB |
via-agp.c | -rw-r--r-- | 13.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...