Unfortunately I have only found this way to obtain the necessary driver that Liu Jiang Feng made for ubuntu but on Debian, its not perfect since you cant update it like any regular file, but it appears to be working.
sudo apt install devscripts build-essential equivs v4l-utils
if necessary for installing v4l-utils due to error
sudo apt --fix-broken install
dget --extract --allow-unauthenticated https://launchpad.net/~liujianfeng1994/+archive/ubuntu/panfork-mesa/+files/mali-g610-firmware_1.0.2_source.changes
ignore curl(22) 404 error
cd mali-g610-firmware-1.0.2
sudo mk-build-deps --install --remove
dpkg-buildpackage --build=binary --no-sign
cd
sudo dpkg -i mali-g610-firmware_1.0.2_all.deb
dget --extract --allow-unauthenticated https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia/+files/rockchip-multimedia-config_1.0.0-3+jammy_source.changes
ignore curl(22) 404 error
cd rockchip-multimedia-config-1.0.0
sudo mk-build-deps --install --remove
dpkg-buildpackage --build=binary --no-sign
cd
sudo dpkg -i rockchip-multimedia-config_1.0.0-3+jammy_all.deb