Skip to content

Commit

Permalink
drm/amd/display: fix Infoframe byte 28-31 doesn't get written out to …
Browse files Browse the repository at this point in the history
…register

Change-Id: I9b38e1b564392ccb2d329401e16543265f11d125
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
  • Loading branch information
Tony Cheng authored and Alex Deucher committed Jan 9, 2017
1 parent 1fad733 commit 91e5c45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ static void dce110_update_generic_info_packet(
REG_WRITE(AFMT_GENERIC_3, *content++);
REG_WRITE(AFMT_GENERIC_4, *content++);
REG_WRITE(AFMT_GENERIC_5, *content++);
REG_WRITE(AFMT_GENERIC_6, *content);
REG_WRITE(AFMT_GENERIC_7, 0);
REG_WRITE(AFMT_GENERIC_6, *content++);
REG_WRITE(AFMT_GENERIC_7, *content);
}

if (!REG(AFMT_VBI_PACKET_CONTROL1)) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct encoder_info_packet {
uint8_t hb1;
uint8_t hb2;
uint8_t hb3;
uint8_t sb[28];
uint8_t sb[32];
};

struct encoder_info_frame {
Expand Down

0 comments on commit 91e5c45

Please sign in to comment.