Message ID | 1510759463-30201-3-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 {
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> --- drivers/gpu/drm/img-rogue/1.6/osfunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)