Always use a cross-compiler like aarch64-linux-gnu-gcc when building drivers for the MSM8953.
Writing display drivers for ARM64 Qualcomm chips involves the . In the mainline kernel, this is handled by the msm DRM driver. It manages the DSI (Display Serial Interface) lanes to push pixels to the panel. Development Tips msm8953 for arm64 driver
One of the biggest hurdles in MSM8953 driver development is the gap between "Downstream" and "Mainline." msm8953 for arm64 driver