[GIT PULL] drm/rockchip: fix dma_alloc_attrs() error check

Mark yao mark.yao at rock-chips.com
Thu Jan 8 19:51:42 PST 2015


Hi Dave
     fix that: dma_alloc_attrs() returns NULL if it cannot allocate a 
dma buffer (or mapping), not a negative error code.

The following changes since commit c93546a5e32bd788c22aefa072385f3784551c13:

   Merge tag 'topic/atomic-core-2015-01-05' of 
git://anongit.freedesktop.org/drm-intel into drm-next (2015-01-09 
09:22:40 +1000)

are available in the git repository at:


   https://github.com/markyzq/kernel-drm-rockchip.git drm-next

for you to fetch changes up to 4b9a90c0b374f8f7b3ceabe3c202424c98a6c5a4:

   drm/rockchip: fix dma_alloc_attrs() error check (2015-01-09 11:29:06 
+0800)

----------------------------------------------------------------
Daniel Kurtz (1):
       drm/rockchip: fix dma_alloc_attrs() error check

  drivers/gpu/drm/rockchip/rockchip_drm_gem.c |    9 +++------
  1 file changed, 3 insertions(+), 6 deletions(-)




More information about the dri-devel mailing list