[PATCH v2 3/4] drm/amdgpu_dm: Rely on split out luminance calculation function