[PATCH] drm/nouveu: fix swiotlb include

Thomas Zimmermann tzimmermann at suse.de
Mon Nov 2 07:49:35 UTC 2020


Hi

Am 30.10.20 um 12:13 schrieb Christian König:
> The check for swiotlb has moved to nouveu_ttm.c, but we forgot to move

s/nouveu/nouveau

here and in the subject line.

Best regards
Thomas

> the include as well.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
>  drivers/gpu/drm/nouveau/nouveau_bo.c  | 1 -
>  drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
> index 746c06ed195b..8133377d865d 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_bo.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
> @@ -28,7 +28,6 @@
>   */
>  
>  #include <linux/dma-mapping.h>
> -#include <linux/swiotlb.h>
>  
>  #include "nouveau_drv.h"
>  #include "nouveau_chan.h"
> diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c
> index d696d882c9eb..2bf36229dd57 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_ttm.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c
> @@ -22,6 +22,9 @@
>   * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
>   * USE OR OTHER DEALINGS IN THE SOFTWARE.
>   */
> +
> +#include <linux/swiotlb.h>
> +
>  #include "nouveau_drv.h"
>  #include "nouveau_gem.h"
>  #include "nouveau_mem.h"
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x680DC11D530B7A23.asc
Type: application/pgp-keys
Size: 4201 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201102/20b96e4e/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201102/20b96e4e/attachment.sig>


More information about the dri-devel mailing list