Message ID | 1586250773-31519-1-git-send-email-ray.huang@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] drm/ttm: clean up ttm_trace_dma_map/ttm_trace_dma_unmap (v2) | expand |
Am 07.04.20 um 11:12 schrieb Huang Rui: > ttm_trace_dma_map/ttm_trace_dma_unmap is never used anymore. > > v2: remove the file completely > > Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> > --- > include/drm/ttm/ttm_debug.h | 31 ------------------------------- > 1 file changed, 31 deletions(-) > delete mode 100644 include/drm/ttm/ttm_debug.h > > diff --git a/include/drm/ttm/ttm_debug.h b/include/drm/ttm/ttm_debug.h > deleted file mode 100644 > index b5e460f..0000000 > --- a/include/drm/ttm/ttm_debug.h > +++ /dev/null > @@ -1,31 +0,0 @@ > -/************************************************************************** > - * > - * Copyright (c) 2017 Advanced Micro Devices, Inc. > - * All Rights Reserved. > - * > - * Permission is hereby granted, free of charge, to any person obtaining a > - * copy of this software and associated documentation files (the > - * "Software"), to deal in the Software without restriction, including > - * without limitation the rights to use, copy, modify, merge, publish, > - * distribute, sub license, and/or sell copies of the Software, and to > - * permit persons to whom the Software is furnished to do so, subject to > - * the following conditions: > - * > - * The above copyright notice and this permission notice (including the > - * next paragraph) shall be included in all copies or substantial portions > - * of the Software. > - * > - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL > - * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, > - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR > - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE > - * USE OR OTHER DEALINGS IN THE SOFTWARE. > - * > - **************************************************************************/ > -/* > - * Authors: Tom St Denis <tom.stdenis@amd.com> > - */ > -extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt); > -extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt);
On Tue, Apr 7, 2020 at 5:50 AM Christian König <ckoenig.leichtzumerken@gmail.com> wrote: > > Am 07.04.20 um 11:12 schrieb Huang Rui: > > ttm_trace_dma_map/ttm_trace_dma_unmap is never used anymore. > > > > v2: remove the file completely > > > > Signed-off-by: Huang Rui <ray.huang@amd.com> > > Reviewed-by: Christian König <christian.koenig@amd.com> > Can one of you make sure this lands in drm-misc? Thanks, Alex > > --- > > include/drm/ttm/ttm_debug.h | 31 ------------------------------- > > 1 file changed, 31 deletions(-) > > delete mode 100644 include/drm/ttm/ttm_debug.h > > > > diff --git a/include/drm/ttm/ttm_debug.h b/include/drm/ttm/ttm_debug.h > > deleted file mode 100644 > > index b5e460f..0000000 > > --- a/include/drm/ttm/ttm_debug.h > > +++ /dev/null > > @@ -1,31 +0,0 @@ > > -/************************************************************************** > > - * > > - * Copyright (c) 2017 Advanced Micro Devices, Inc. > > - * All Rights Reserved. > > - * > > - * Permission is hereby granted, free of charge, to any person obtaining a > > - * copy of this software and associated documentation files (the > > - * "Software"), to deal in the Software without restriction, including > > - * without limitation the rights to use, copy, modify, merge, publish, > > - * distribute, sub license, and/or sell copies of the Software, and to > > - * permit persons to whom the Software is furnished to do so, subject to > > - * the following conditions: > > - * > > - * The above copyright notice and this permission notice (including the > > - * next paragraph) shall be included in all copies or substantial portions > > - * of the Software. > > - * > > - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > > - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > > - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL > > - * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, > > - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR > > - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE > > - * USE OR OTHER DEALINGS IN THE SOFTWARE. > > - * > > - **************************************************************************/ > > -/* > > - * Authors: Tom St Denis <tom.stdenis@amd.com> > > - */ > > -extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt); > > -extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt); > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 08.04.20 um 16:00 schrieb Alex Deucher: > On Tue, Apr 7, 2020 at 5:50 AM Christian König > <ckoenig.leichtzumerken@gmail.com> wrote: >> Am 07.04.20 um 11:12 schrieb Huang Rui: >>> ttm_trace_dma_map/ttm_trace_dma_unmap is never used anymore. >>> >>> v2: remove the file completely >>> >>> Signed-off-by: Huang Rui <ray.huang@amd.com> >> Reviewed-by: Christian König <christian.koenig@amd.com> >> > Can one of you make sure this lands in drm-misc? Done. Christian. > > Thanks, > > Alex > >>> --- >>> include/drm/ttm/ttm_debug.h | 31 ------------------------------- >>> 1 file changed, 31 deletions(-) >>> delete mode 100644 include/drm/ttm/ttm_debug.h >>> >>> diff --git a/include/drm/ttm/ttm_debug.h b/include/drm/ttm/ttm_debug.h >>> deleted file mode 100644 >>> index b5e460f..0000000 >>> --- a/include/drm/ttm/ttm_debug.h >>> +++ /dev/null >>> @@ -1,31 +0,0 @@ >>> -/************************************************************************** >>> - * >>> - * Copyright (c) 2017 Advanced Micro Devices, Inc. >>> - * All Rights Reserved. >>> - * >>> - * Permission is hereby granted, free of charge, to any person obtaining a >>> - * copy of this software and associated documentation files (the >>> - * "Software"), to deal in the Software without restriction, including >>> - * without limitation the rights to use, copy, modify, merge, publish, >>> - * distribute, sub license, and/or sell copies of the Software, and to >>> - * permit persons to whom the Software is furnished to do so, subject to >>> - * the following conditions: >>> - * >>> - * The above copyright notice and this permission notice (including the >>> - * next paragraph) shall be included in all copies or substantial portions >>> - * of the Software. >>> - * >>> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR >>> - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, >>> - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL >>> - * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, >>> - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR >>> - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE >>> - * USE OR OTHER DEALINGS IN THE SOFTWARE. >>> - * >>> - **************************************************************************/ >>> -/* >>> - * Authors: Tom St Denis <tom.stdenis@amd.com> >>> - */ >>> -extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt); >>> -extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt); >> _______________________________________________ >> amd-gfx mailing list >> amd-gfx@lists.freedesktop.org >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7Cchristian.koenig%40amd.com%7C060c7b4e4194427e510108d7dbc5395c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637219512430412644&sdata=T0ckyGvS2dQp0elZVHvy8PF7yO2LnualED%2FilEhUqUs%3D&reserved=0
diff --git a/include/drm/ttm/ttm_debug.h b/include/drm/ttm/ttm_debug.h deleted file mode 100644 index b5e460f..0000000 --- a/include/drm/ttm/ttm_debug.h +++ /dev/null @@ -1,31 +0,0 @@ -/************************************************************************** - * - * Copyright (c) 2017 Advanced Micro Devices, Inc. - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sub license, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice (including the - * next paragraph) shall be included in all copies or substantial portions - * of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - * USE OR OTHER DEALINGS IN THE SOFTWARE. - * - **************************************************************************/ -/* - * Authors: Tom St Denis <tom.stdenis@amd.com> - */ -extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt); -extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt);
ttm_trace_dma_map/ttm_trace_dma_unmap is never used anymore. v2: remove the file completely Signed-off-by: Huang Rui <ray.huang@amd.com> --- include/drm/ttm/ttm_debug.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 include/drm/ttm/ttm_debug.h