[Intel-gfx] [PATCH i-g-t 3/3] debugger: No longer rely on compatability define in intel_bufmgr.h
Ben Widawsky
ben at bwidawsk.net
Tue Jan 16 16:29:05 UTC 2018
On 18-01-09 23:25:11, 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>
>---
> 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();
The series looks good to me, but keep in mind that we never actually made this
work after Sandybridge, and even there, nobody ever ran it but me :-)
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
--
Ben Widawsky, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list