diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-04-22 19:19:14 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-04-24 17:28:37 +0300 |
commit | 35dd95b4ee19787d4dd321ea88dd72c9b87d9425 (patch) | |
tree | eaf7d1a7b5f947591122d6e97f7ef3fb468df68c /drivers/gpu/drm/i915/display/vlv_dsi.c | |
parent | eac9c58539aa2db9e1173964025760fdea905656 (diff) | |
download | linux-35dd95b4ee19787d4dd321ea88dd72c9b87d9425.tar.gz linux-35dd95b4ee19787d4dd321ea88dd72c9b87d9425.tar.bz2 linux-35dd95b4ee19787d4dd321ea88dd72c9b87d9425.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/display/vlv_dsi.c')
0 files changed, 0 insertions, 0 deletions