drm/amd/display: re-order the luma chroma addres updation
authorShirish S <shirish.s@amd.com>
Thu, 25 May 2017 09:10:21 +0000 (14:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:39 +0000 (18:07 -0400)
commit0a1c73ec8e4834d72441ae77f436869fd5179d8f
tree59e05b1a8e531186b061128a772c80968f928da4
parente4bf0a0eed7e0e3bb7f0be2788cf0a5ecc16b068
drm/amd/display: re-order the luma chroma addres updation

The DCE engine triggers scan as soon as the luma
address is updated, since it is updated before chroma address
the chroma data is not scanned out properly or in order.
This patch fixes this by re-ordering the same.

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
    * Chroma data is scanned properly.

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/dc/dce110/dce110_mem_input_v.c