diff options
author | Andy Gospodarek <andrew.gospodarek@broadcom.com> | 2023-12-14 13:31:38 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-15 10:14:40 -0800 |
commit | 23c93c3b6275a59f2a685f4a693944b53c31df4e (patch) | |
tree | 23f8e1e838336c85dad64a8babfc3158aeb3714f /drivers/gpu/drm/amd/display/dc/basics/custom_float.c | |
parent | 64b8bc7d5f1434c636a40bdcfcd42b278d1714be (diff) |
bnxt_en: do not map packet buffers twice
Remove double-mapping of DMA buffers as it can prevent page pool entries
from being freed. Mapping is managed by page pool infrastructure and
was previously managed by the driver in __bnxt_alloc_rx_page before
allowing the page pool infrastructure to manage it.
Fixes: 578fcfd26e2a ("bnxt_en: Let the page pool manage the DMA mapping")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20231214213138.98095-1-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics/custom_float.c')
0 files changed, 0 insertions, 0 deletions