Reading through an old thread on the Armbian forum from 2023, titled, [GUIDE] Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio, one of the additional options, when enabling enable drm_prem_hw running Kodi under GBM, there was a third option that really opened up the HW decoding performance, called PRIME Render Method where the option "Direct To Plane" enabled a wider array of hardware accelerated video, including 8K.
Within the instructions there was this section
Step 4 (Enable PPAs and install other elements required for GPU hardware acceleration)
At the command line, enter the following commands (highlighted in Blue):
sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt full-upgrade
sudo apt install ubuntu-desktop kodi
When prompted on-screen if you wish to use gdm or lightdm, select gdm.
Now this was all relevant to a fairly specific Armbian build using the old 5.1 kernel and unfortunately, the liujianfeng1994 repositories don't work with newer builds.
I don't know whether any of this information could be used to enhance Libreelec builds to allow the selection of the Prime Render Method Direct To Plane.