i915: No longer rely on compatability define in intel_bufmgr.h
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 17 Jan 2018 05:48:07 +0000 (00:48 -0500)
committerRhys Kidd <rhyskidd@gmail.com>
Wed, 17 Jan 2018 13:08:04 +0000 (08:08 -0500)
Symbol rename from dri_* to drm_intel_* introduced a number of compatability
defines within intel_bufmgr.h.

Replace the old function with the new function, consistent with the balance
of this file.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/intel_regions.c

index be0dca497e8660904cf83498941098544fae1483..fee734801cd9caa5f7c114368e46202216cc276c 100644 (file)
@@ -182,7 +182,7 @@ intel_region_alloc_for_handle(struct intel_screen *screen,
    int ret;
    uint32_t bit_6_swizzle, tiling;
 
-   buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle);
+   buffer = drm_intel_bo_gem_create_from_name(screen->bufmgr, name, handle);
    if (buffer == NULL)
       return NULL;
    ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle);