summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_device_info.c
diff options
context:
space:
mode:
authorMichał Winiarski2019-03-26 18:02:18 +0100
committerChris Wilson2019-03-26 21:24:44 +0100
commite163484afa8d6b1775cd35201fe7d523a45e0409 (patch)
tree14ad80b57d6095a39b2e2e1043acd31ad0acb2c1 /drivers/gpu/drm/i915/intel_device_info.c
parentdrm/i915: take a reference to uncore in the engine and use it (diff)
downloadkernel-qcow2-linux-e163484afa8d6b1775cd35201fe7d523a45e0409.tar.gz
kernel-qcow2-linux-e163484afa8d6b1775cd35201fe7d523a45e0409.tar.xz
kernel-qcow2-linux-e163484afa8d6b1775cd35201fe7d523a45e0409.zip
drm/i915: Update size upon return from GEM_CREATE
Since GEM_CREATE is trying to outsmart the user by rounding up unaligned objects, we used to update the size returned to userspace. This update seems to have been lost throughout the history. v2: Use round_up(), reorder locals (Chris) References: ff72145badb8 ("drm: dumb scanout create/mmap for intel/radeon (v3)") Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Janusz Krzysztofik <janusz.krzysztofik@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190326170218.13255-1-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.c')
0 files changed, 0 insertions, 0 deletions