summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2016-05-31 11:24:23 -0600
committerHarshdeep Dhatt <hdhatt@codeaurora.org>2016-11-03 12:06:14 -0600
commite141e85de76ff485d867a272bda582d6ed452ee4 (patch)
treebe53acec552e2a68f500b7cbec005958859a0b7e /drivers/gpu/drm/i915/intel_ringbuffer.c
parent5b7da258870763a6fe394b3ed1d96ddba59cce28 (diff)
msm: kgsl: Fix pagetable member of struct kgsl_memdesc
memdesc->pagetable is supposed to help ensure that memory gets unmapped before it is freed, but the pagetable member is being populated at create time not when the buffer gets mapped. This forces the developer to ensure that the same pagetable is used for both the create and map step. Instead, assign the pagetable member when it is first used (to get a GPU address) and put it away when the GPU address is released. Change-Id: Ic0dedbad372fd9029b932dd99633a650049751ed Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions