Message ID | 20210114080535.17132-1-tzimmermann@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: Include <linux/mem_encrypt.h> in drm_cache.c | expand |
Am 14.01.21 um 09:05 schrieb Thomas Zimmermann: > The function drm_need_swiotbl() needs mem_encrypt_active() from > <linux/mem_encrypt.h>. The include got lost when refactoring the > code recently. > > Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> > Fixes: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c") > Reported-by: kernel test robot <lkp@intel.com> > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Christian König <christian.koenig@amd.com> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch> > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > Cc: Maxime Ripard <mripard@kernel.org> > Cc: David Airlie <airlied@linux.ie> > Cc: Daniel Vetter <daniel@ffwll.ch> > Cc: dri-devel@lists.freedesktop.org You are typing faster than me :) Reviewed-by: Christian König <christian.koenig@amd.com> > --- > drivers/gpu/drm/drm_cache.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c > index 49551a7fa22f..79a50ef1250f 100644 > --- a/drivers/gpu/drm/drm_cache.c > +++ b/drivers/gpu/drm/drm_cache.c > @@ -30,6 +30,7 @@ > > #include <linux/export.h> > #include <linux/highmem.h> > +#include <linux/mem_encrypt.h> > #include <xen/xen.h> > > #include <drm/drm_cache.h>
Hi Am 14.01.21 um 09:23 schrieb Christian König: > Am 14.01.21 um 09:05 schrieb Thomas Zimmermann: >> The function drm_need_swiotbl() needs mem_encrypt_active() from >> <linux/mem_encrypt.h>. The include got lost when refactoring the >> code recently. >> >> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> >> Fixes: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c") >> Reported-by: kernel test robot <lkp@intel.com> >> Cc: Thomas Zimmermann <tzimmermann@suse.de> >> Cc: Christian König <christian.koenig@amd.com> >> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> >> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> >> Cc: Maxime Ripard <mripard@kernel.org> >> Cc: David Airlie <airlied@linux.ie> >> Cc: Daniel Vetter <daniel@ffwll.ch> >> Cc: dri-devel@lists.freedesktop.org > > You are typing faster than me :) > > Reviewed-by: Christian König <christian.koenig@amd.com> Pushed to -misc-next. Thanks for the fast reply. Best regards Thomas > >> --- >> drivers/gpu/drm/drm_cache.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c >> index 49551a7fa22f..79a50ef1250f 100644 >> --- a/drivers/gpu/drm/drm_cache.c >> +++ b/drivers/gpu/drm/drm_cache.c >> @@ -30,6 +30,7 @@ >> #include <linux/export.h> >> #include <linux/highmem.h> >> +#include <linux/mem_encrypt.h> >> #include <xen/xen.h> >> #include <drm/drm_cache.h> > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c index 49551a7fa22f..79a50ef1250f 100644 --- a/drivers/gpu/drm/drm_cache.c +++ b/drivers/gpu/drm/drm_cache.c @@ -30,6 +30,7 @@ #include <linux/export.h> #include <linux/highmem.h> +#include <linux/mem_encrypt.h> #include <xen/xen.h> #include <drm/drm_cache.h>
The function drm_need_swiotbl() needs mem_encrypt_active() from <linux/mem_encrypt.h>. The include got lost when refactoring the code recently. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c") Reported-by: kernel test robot <lkp@intel.com> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Christian König <christian.koenig@amd.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <mripard@kernel.org> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_cache.c | 1 + 1 file changed, 1 insertion(+)