The OpenCL ICD implementation should work with OpenCL ICD loader.
So we shouldn't try to install non-ICD OpenCL implementation in this
case.
Change-Id: Idfb4e6058952215075e2cc253c0d5bb43cac6761
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Use gbm wrapper library to provide missing functions.
Change-Id: I62c9838f91adfd2f54df5eb75b256c361c7ce9a0
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
The mesa upstream decided to install khrplatform.h within GL(dev), which
would conflit with ours:
dpkg: error processing archive /var/cache/apt/archives/mesa-common-dev_18.3.6-2+deb10u1_arm64.deb (--unpack):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libmali-rk-dev:arm64 1.7-1
Let's rename it to avoid that.
Done by these commands:
mv include/KHR/{,mali_}khrplatform.h
ag khrplatform.h -l|xargs sed -i "s/\<khrplatform.h/mali_khrplatform.h/g"
Change-Id: I1aec209c60481332ffecd033ed9433e91cc5fb97
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This header was removed by mistake, let's add it back.
Change-Id: I63d5f5592b7cd7b6fdbb1077cfe4fdf2900649da
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Those header files comes from mesa project. It would be better
to use the mali export version instead.
Signed-off-by: Randy Li <randy.li@rock-chips.com>