Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@xxxxxxxxx> --- drivers/gpu/drm/img-rogue/1.6/osfunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/img-rogue/1.6/osfunc.c b/drivers/gpu/drm/img-rogue/1.6/osfunc.c index 2631357..7a9255b0 100644 --- a/drivers/gpu/drm/img-rogue/1.6/osfunc.c +++ b/drivers/gpu/drm/img-rogue/1.6/osfunc.c @@ -69,6 +69,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #endif #include <linux/kthread.h> #include <asm/atomic.h> +#include <linux/pfn_t.h> #include "log2.h" #include "osfunc.h" @@ -2381,7 +2382,7 @@ PVRSRV_ERROR OSChangeSparseMemCPUAddrMap(void **psPageArray, if(bMixedMap ) { - eError = vm_insert_mixed(psVMA,uiCPUVirtAddr, uiPFN); + eError = vm_insert_mixed(psVMA,uiCPUVirtAddr, __pfn_to_pfn_t(uiPFN, PFN_DEV)); } else { -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel