DRM: fix gem_prime_get_sg_table
authorYalong Liu <yalong.liu@amlogic.com>
Tue, 6 Feb 2018 08:24:48 +0000 (16:24 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 7 Feb 2018 10:11:00 +0000 (02:11 -0800)
commit11d0a4f6ba151a90ef789383855c446e6684ac57
treebcda774c737ce78022a50ce07d7f9f7d6d1abbaa
parentc4c0f4ce68e1077920780e1412f695bfd4d13716
DRM: fix gem_prime_get_sg_table

PD#158474: fixed gem_prime_get_sg_table

modified gem_prime_get_sg_table by allocating
a sg_table for this GEM object through
sg_alloc_table and sg_set_page APIs

Change-Id: Idb7446e8ffa8700a2b8e2a2b2db1c5c3c4d62eb5
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
drivers/amlogic/drm/am_meson_gem.c [changed mode: 0755->0644]
drivers/amlogic/drm/am_meson_gem.h [changed mode: 0755->0644]
drivers/amlogic/drm/meson_drv.c [changed mode: 0755->0644]