mdss mdp: kcal for mdss_mdp_v1_7
Adding the kcal interface by @savoca and @faux123 porting from m9 version by @flar2 Using the MDP 1_7 userspace structs to inject configurations of kcal to the pp_cache configs. Overriding userspace copy with memcpy when copy_from_user fails (in case of kcal interface used). Adding a simple mdp ctl struct caching to the kcal driver to grab ctl struct for config calls. Could be done nicer with direct interfacing to userspace, leaves some space to make the kernel crash if a third party app sends faulty configs, but there's no security issue or degradation of functionality with this memcpy patch. @tbalden Signed-off-by:flar2 <asegaert@gmail.com> Signed-off-by:
AKabhishek <abhishekkaushik.star@gmail.com> # Conflicts: # drivers/video/msm/mdss/Makefile
Loading
Please register or sign in to comment