msm: mdss: Add safety check for user input

Leave more checks either to the control app or the user's intelligence.