summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_memory.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2015-06-25 18:35:11 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-06-26 10:53:41 +0200
commitd1c54acd67dc6518629224b68cac17cd5cff1dc3 (patch)
treeede2941ba651f6528afe3749fe80700789e3fd0b /drivers/gpu/drm/drm_memory.c
parent73eeea537b1bb9c53c9e406a16354f6bc9b2be62 (diff)
downloadblackbird-obmc-linux-d1c54acd67dc6518629224b68cac17cd5cff1dc3.tar.gz
blackbird-obmc-linux-d1c54acd67dc6518629224b68cac17cd5cff1dc3.zip
drm/i915/gtt: Introduce kmap|kunmap for dma page
As there is flushing involved when we have done the cpu write, make functions for mapping for cpu space. Make macros to map any type of paging structure. v2: Make it clear tha flushing kunmap is only for ppgtt (Ville) v3: Flushing fixed (Ville, Michel). Removed superfluous semicolon Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud