diff --git a/linux-6.6/rk3568_patch/kernel.patch b/linux-6.6/rk3568_patch/kernel.patch index 1ed6c6098ecae2c36675b3d41a2a1ac30b50e240..53d38a8bc52f9278fc1a97ebb8c9721841ee2fc1 100644 --- a/linux-6.6/rk3568_patch/kernel.patch +++ b/linux-6.6/rk3568_patch/kernel.patch @@ -1540800,7 +1540800,7 @@ index 000000000..c27ac3484 +#endif + .dumb_create = rknpu_gem_dumb_create, +#if KERNEL_VERSION(4, 19, 0) > LINUX_VERSION_CODE -+ .dumb_map_offset = rknpu_gem_dumb_map_offset, ++ .dumb_map_offset = drm_gem_dumb_map_offset, +#else + .dumb_map_offset = drm_gem_dumb_map_offset, +#endif