drm/udl: add cache flags definitions for udl_gem_object
authorHaixia Shi <hshi@chromium.org>
Thu, 13 Nov 2014 02:33:52 +0000 (18:33 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:41:32 +0000 (11:41 +1000)
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>

No differences found