From: Marcin Ĺšlusarz Date: Fri, 24 Mar 2023 16:54:15 +0000 (+0100) Subject: anv,hasvk: remove stale comments X-Git-Tag: upstream/23.3.3~11018 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=698135fd3e262894b4198f7b3d15ce84879a7106;p=platform%2Fupstream%2Fmesa.git anv,hasvk: remove stale comments Added in 060a6434eca9fb05ca2dfd612f8abd4786ee4549. The field it described was removed in c1f4343807d1040bd7b5440aa2f5fccf5f12842d. Fixes: c1f4343807d ("anv: Set up memory types and heaps during physical device init") Reviewed-by: Faith Ekstrand Part-of: --- diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index a4f3594..d32c8e6 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -923,14 +923,6 @@ struct anv_physical_device { struct anv_instance * instance; char path[20]; struct intel_device_info info; - /** Amount of "GPU memory" we want to advertise - * - * Clearly, this value is bogus since Intel is a UMA architecture. On - * gfx7 platforms, we are limited by GTT size unless we want to implement - * fine-grained tracking and GTT splitting. On Broadwell and above we are - * practically unlimited. However, we will never report more than 3/4 of - * the total system ram to try and avoid running out of RAM. - */ bool supports_48bit_addresses; bool video_decode_enabled; diff --git a/src/intel/vulkan_hasvk/anv_private.h b/src/intel/vulkan_hasvk/anv_private.h index 73c0c86..056f7df 100644 --- a/src/intel/vulkan_hasvk/anv_private.h +++ b/src/intel/vulkan_hasvk/anv_private.h @@ -858,14 +858,6 @@ struct anv_physical_device { struct anv_instance * instance; char path[20]; struct intel_device_info info; - /** Amount of "GPU memory" we want to advertise - * - * Clearly, this value is bogus since Intel is a UMA architecture. On - * gfx7 platforms, we are limited by GTT size unless we want to implement - * fine-grained tracking and GTT splitting. On Broadwell and above we are - * practically unlimited. However, we will never report more than 3/4 of - * the total system ram to try and avoid running out of RAM. - */ bool supports_48bit_addresses; struct brw_compiler * compiler; struct isl_device isl_dev;