summaryrefslogtreecommitdiff
path: root/drivers/net/sis900.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-10-20 19:59:57 (GMT)
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-20 20:06:34 (GMT)
commitb5dc608c98d929abbf2fe932ed07b3c868d83342 (patch)
tree856fe6ba9133fe9b3019ff578fb808aa79027a9f /drivers/net/sis900.h
parent69dc4987cbe5fe70ae1c2a08906d431d53cdd242 (diff)
downloadlinux-fsl-qoriq-b5dc608c98d929abbf2fe932ed07b3c868d83342.tar.xz
drm/i915: Copy the updated reloc->presumed_offset back to the user
If the userspace driver is using a constant relocation array with a static buffer, they will pass the same relocation array back to the kernel. So we *do* need to update the presumed offset value in those relocations to reflect the current object so that they remain correct with future batchbuffers and we avoid the necessity of having to suspend execution and perform redundant relocations. Fixes the regression introduced by 12f889c for applications using absolute addressing on trees of buffer (i.e. the current consumers of libdrm_intel.so). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30996 Reported-by: Wang, Jinjin <jinjin.wang@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/net/sis900.h')
0 files changed, 0 insertions, 0 deletions