[PATCH v2 1/4] drm/panfrost: Simplify lock_region calculation