diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-08-03 11:22:30 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-24 18:14:20 +0200 |
commit | a65511b1cd78e0a37b35af5737dd35cf0a5ae927 (patch) | |
tree | 8db697739480872df30cae864d46da9725eca1be /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 58a6a36fe8e06199ff344fb95814af1d7ed71b35 (diff) |
drm/vc4: Move ->offsets[] adjustment out of setup_clipping_and_scaling()
The offset adjustment depends on the framebuffer modified, so let's
just move this operation in the DRM_FORMAT_MOD_LINEAR case inside
vc4_plane_mode_set().
This we'll be able to fix offset calculation for
DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED and DRM_FORMAT_MOD_BROADCOM_SANDXXX.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180803092231.26446-4-boris.brezillon@bootlin.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions