diff options
author | Imre Deak <imre.deak@intel.com> | 2021-03-25 23:48:00 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2021-03-29 22:58:12 +0300 |
commit | 67cfab66139b60939ad3dac2da6619f4998fd192 (patch) | |
tree | 5d6b9d97e7ee28543ed11efa625ce202afd47ae8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 61169987c4d99d071af976ad5923fa990bc2d44e (diff) |
drm/i915: Store the normal view FB pitch in FB's intel_fb_view
Instead of special casing getting the pitch for the normal view, store
it during FB creation to the FB normal view struct and retrieve it from
there during atomic check, as it's done for the rotated view. A
follow-up patch does the same for a new FB remapped view.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-18-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions