[Intel-gfx] [PATCH i-g-t 3/3] debugger: No longer rely on compatability define in intel_bufmgr.h

Rhys Kidd rhyskidd at gmail.com
Wed Jan 10 04:25:11 UTC 2018


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>
---
 debugger/eudb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debugger/eudb.c b/debugger/eudb.c
index 8384950a..de37be52 100644
--- a/debugger/eudb.c
+++ b/debugger/eudb.c
@@ -562,7 +562,7 @@ int main(int argc, char* argv[]) {
 			if (fscanf(stdin, "%1d", &dh_handle) == 0)
 				exit(1);
 		}
-		scratch_bo = intel_bo_gem_create_from_name(bufmgr, "scratch", dh_handle);
+		scratch_bo = drm_intel_bo_gem_create_from_name(bufmgr, "scratch", dh_handle);
 		if (scratch_bo == NULL) {
 			fprintf(stderr, "Couldn't flink buffer\n");
 			abort();
-- 
2.14.1



More information about the Intel-gfx mailing list