OSDN Git Service

drm/amd/display: update the YUV plane offsets
authorShirish S <shirish.s@amd.com>
Tue, 25 Apr 2017 06:56:57 +0000 (12:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:29 +0000 (18:06 -0400)
commit110ff5439a3e1d19acf02ec5b819e6802c4b8b83
tree0a3920f369bcc12ffca2bdc6e115feb8be4c02e8
parente6fbd5df0e4e1cf644ddfd50d1df27e5e4ad2220
drm/amd/display: update the YUV plane offsets

This patch updates the planes default offsets to
the appropriate ones, and aligns the pitch to 64 bits.

BUG=SWDEV-119421
TEST=Boots to UI on jadeite
TEST=
     plane_test --format AR24 --size 500x50 -p --format YV12 --size 500x500
     plane_test --format AR24 --size 500x50 -p --format YV12 --size 1280x720
     plane_test --format AR24 --size 500x50 -p --format YV12 --size 1366x768

Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c