MALI: rockchip: not to use sg_dma_len in midgard ddk r11p0-00rel0
authorchenzhen <chenzhen@rock-chips.com>
Thu, 14 Apr 2016 02:17:36 +0000 (10:17 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 31 May 2016 01:12:11 +0000 (09:12 +0800)
commitff9877f38beaebd4ae9eb7d22698d8fbec8eb2e8
tree3f7c6b896ac3703c6c4a046b4c285caba8abb25f
parent3adc6eb16b2bdfb47fa83e8608ee11b25b6c2908
MALI: rockchip: not to use sg_dma_len in midgard ddk r11p0-00rel0

When CONFIG_NEED_SG_DMA_LENGTH is enabled,
sg_dma_len is defined as follow :
"#define sg_dma_len(sg)             ((sg)->dma_length)"
But, dma_length is not used by the framework indeed.

Change-Id: I51d1adf9f2738b1036fdaf6172ae932c007fac76
Signed-off-by: chenzhen <chenzhen@rock-chips.com>
drivers/gpu/arm/midgard/mali_kbase_mem.c