Merge "msm: kgsl: Add NULL check for kgsl_midframe before accessing it" into msm-4.9