[PATCH 2/3] drm/amdgpu_dm: Use split out luminance calculation function