提交 0a1c73ec 编写于 作者: S Shirish S 提交者: Alex Deucher

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: NShirish S <shirish.s@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 e4bf0a0e
......@@ -137,12 +137,12 @@ static void program_addr(
addr->grph.addr);
break;
case PLN_ADDR_TYPE_VIDEO_PROGRESSIVE:
program_pri_addr_l(
mem_input110,
addr->video_progressive.luma_addr);
program_pri_addr_c(
mem_input110,
addr->video_progressive.chroma_addr);
program_pri_addr_l(
mem_input110,
addr->video_progressive.luma_addr);
break;
default:
/* not supported */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册