commit | 35dd95b4ee19787d4dd321ea88dd72c9b87d9425 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Apr 22 19:19:14 2020 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Apr 24 17:28:37 2020 +0300 |
tree | eaf7d1a7b5f947591122d6e97f7ef3fb468df68c | |
parent | eac9c58539aa2db9e1173964025760fdea905656 [diff] |
drm/i915: Use drm_rect to store the pfit window pos/size Make things a bit more abstract by replacing the pch_pfit.pos/size raw register values with a drm_rect. Makes it slighly more convenient to eg. compute the scaling factors. v2: Use drm_rect_init() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200422161917.17389-3-ville.syrjala@linux.intel.com Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>