OSDN Git Service

drm/amd/display: update NV12/NV21 as the YUV format
authorShirish S <shirish.s@amd.com>
Thu, 25 May 2017 09:06:47 +0000 (14:36 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:40 +0000 (18:07 -0400)
commitf0c16087fba728c36bc33fe462b35ca4ada7f5ca
tree4507440f21dbfe8ae77864cfb44d19064e8a1c13
parent630e3573853ff8644daf1ae32a503984110afe28
drm/amd/display: update NV12/NV21 as the YUV format

This patch updates the YUV format supported to
NV12 and NV21 and hence updates the offsets.

BUG: SWDEV-119421
TEST: (On Chromium OS for Stoney Only)
    * Executed below tests to see YUV(underlay) & RGB planes on eDP
    plane_test --format XR24 --size 500x100 -p --format NV12 --size
    500x500

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