[Mesa-dev] [PATCH] i915: No longer rely on compatability define in intel_bufmgr.h

Kenneth Graunke kenneth at whitecape.org
Wed Jan 17 07:43:07 UTC 2018


On Tuesday, January 16, 2018 9:48:07 PM PST Rhys Kidd wrote:
> 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 at gmail.com>
> ---
>  src/mesa/drivers/dri/i915/intel_regions.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i915/intel_regions.c b/src/mesa/drivers/dri/i915/intel_regions.c
> index be0dca497e..fee734801c 100644
> --- a/src/mesa/drivers/dri/i915/intel_regions.c
> +++ b/src/mesa/drivers/dri/i915/intel_regions.c
> @@ -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);
> 

Thanks!  I dropped all these for i965, but not for i915...

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180116/3db41dc5/attachment.sig>


More information about the mesa-dev mailing list