commit | 09a58da052111263e31f0050ad775b62166fafba | [log] [tgz] |
---|---|---|
author | Haixia Shi <hshi@chromium.org> | Wed Nov 12 18:33:52 2014 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Thu Nov 20 11:41:32 2014 +1000 |
tree | 3e15a161229e32126ee289799ad2168078edcb3d | |
parent | a7ca52e108e549669940b11779bb491a931f8c65 [diff] |
drm/udl: add cache flags definitions for udl_gem_object By default set udl_gem_object as cacheable, but set WC flag when attaching dmabuf. In udl_gem_mmap() update cache attributes based on the flags, similar to exynos_drm_gem_mmap(). Signed-off-by: Haixia Shi <hshi@chromium.org> Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Reviewed-by: Olof Johansson <olofj@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>