diff options
author | Dave Airlie <[email protected]> | 2018-05-29 11:21:38 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-05-30 09:11:53 +1000 |
commit | b7ac0779e0228969536a6738926b8b7a0d565cd4 (patch) | |
tree | 951eecc4de17cc6d0df92fe0c2894be0b8fee773 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | d2eaff33d0132ef17eb458f04e5369985129ce31 (diff) |
gallium/winsys: rename DRM_API_HANDLE_* to WINSYS_HANDLE_*
This just renames this as we want to add an shm handle which
isn't really drm related.
Originally by: Marc-André Lureau <[email protected]>
(airlied: I used this sed script instead)
This was generated with:
git grep -l 'DRM_API_' | xargs sed -i 's/DRM_API_/WINSYS_/g'
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index d2814c4f300..7f1eff8f5d9 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -713,7 +713,7 @@ static boolean si_texture_get_handle(struct pipe_screen* screen, rtex->surface.tile_swizzle || (rtex->buffer.flags & RADEON_FLAG_NO_INTERPROCESS_SHARING && sscreen->info.has_local_buffers && - whandle->type != DRM_API_HANDLE_TYPE_KMS)) { + whandle->type != WINSYS_HANDLE_TYPE_KMS)) { assert(!res->b.is_shared); si_reallocate_texture_inplace(sctx, rtex, PIPE_BIND_SHARED, false); |