diff options
Diffstat (limited to 'sdm/libs/core/drm/hw_device_drm.cpp')
-rw-r--r-- | sdm/libs/core/drm/hw_device_drm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/core/drm/hw_device_drm.cpp b/sdm/libs/core/drm/hw_device_drm.cpp index 5d6dfde5..aa0e13c5 100644 --- a/sdm/libs/core/drm/hw_device_drm.cpp +++ b/sdm/libs/core/drm/hw_device_drm.cpp @@ -1521,7 +1521,7 @@ DisplayError HWDeviceDRM::SetMixerAttributes(const HWMixerAttributes &mixer_attr float scale_x = FLOAT(display_attributes_[index].x_pixels) / FLOAT(mixer_attributes.width); float scale_y = FLOAT(display_attributes_[index].y_pixels) / FLOAT(mixer_attributes.height); - float max_scale_up = hw_resource_.hw_dest_scalar_info.max_scale_up; + float max_scale_up = FLOAT(hw_resource_.hw_dest_scalar_info.max_scale_up); if (scale_x > max_scale_up || scale_y > max_scale_up) { DLOGW( "Up scaling ratio exceeds for destination scalar upscale limit scale_x %f scale_y %f " |