Module: Mesa
Branch: main
Commit: 641a12aa2938fa44c4bef4cc947d50c33318d866
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=641a12aa2938fa44c4bef4cc947d50c33318d866

Author: Kenneth Graunke <[email protected]>
Date:   Wed Sep 22 21:47:19 2021 -0700

intel: Finish off the last scraps of bacon

The bacon is long past its expiration date and has got to go.
Composting it in the flower-beds was probably inadvisable.
So we shall throw it away.

(Originally, I imported libdrm_intel into i965, but to avoid symbol
conflicts, renamed drm_intel_* to drm_bacon_* as it was the same number
of letters and we needed an arbitrary name.  After slicing-and-dicing
away most of the fat, er, code, we renamed it to brw_bufmgr...except
for apparently this comment, which then got replicated to both iris
and crocus.  Originally it served to indicate what file contained these
functions, but bufmgr.h having prototypes for bufmgr.c is obvious, so
just delete the silly comment.  No bacon for you!)

Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Sagar Ghuge <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12985>

---

 src/gallium/drivers/crocus/crocus_bufmgr.h | 1 -
 src/gallium/drivers/iris/iris_bufmgr.h     | 1 -
 src/mesa/drivers/dri/i965/brw_bufmgr.h     | 1 -
 3 files changed, 3 deletions(-)

diff --git a/src/gallium/drivers/crocus/crocus_bufmgr.h 
b/src/gallium/drivers/crocus/crocus_bufmgr.h
index 0f3408c1233..e4310448440 100644
--- a/src/gallium/drivers/crocus/crocus_bufmgr.h
+++ b/src/gallium/drivers/crocus/crocus_bufmgr.h
@@ -302,7 +302,6 @@ int crocus_bo_busy(struct crocus_bo *bo);
  */
 int crocus_bo_madvise(struct crocus_bo *bo, int madv);
 
-/* drm_bacon_bufmgr_gem.c */
 struct crocus_bufmgr *
 crocus_bufmgr_get_for_fd(struct intel_device_info *devinfo, int fd,
                          bool bo_reuse);
diff --git a/src/gallium/drivers/iris/iris_bufmgr.h 
b/src/gallium/drivers/iris/iris_bufmgr.h
index b9c3bfc579a..06cda77d59d 100644
--- a/src/gallium/drivers/iris/iris_bufmgr.h
+++ b/src/gallium/drivers/iris/iris_bufmgr.h
@@ -402,7 +402,6 @@ bool iris_bo_busy(struct iris_bo *bo);
  */
 int iris_bo_madvise(struct iris_bo *bo, int madv);
 
-/* drm_bacon_bufmgr_gem.c */
 struct iris_bufmgr *iris_bufmgr_get_for_fd(struct intel_device_info *devinfo,
                                            int fd, bool bo_reuse);
 int iris_bufmgr_get_fd(struct iris_bufmgr *bufmgr);
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h 
b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index 472a8b19065..cb272a96335 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
@@ -350,7 +350,6 @@ int brw_bo_busy(struct brw_bo *bo);
  */
 int brw_bo_madvise(struct brw_bo *bo, int madv);
 
-/* drm_bacon_bufmgr_gem.c */
 struct brw_bufmgr *brw_bufmgr_get_for_fd(struct intel_device_info *devinfo,
                                          int fd, bool bo_reuse);
 

Reply via email to