[PATCH] drm/amd/display: default spd packet to invalid

Jeff Smith whydoubt at gmail.com
Fri May 19 13:32:23 UTC 2017


Signed-off-by: Jeff Smith <whydoubt at gmail.com>
---
All of the encoder_info_frame's info packets are initialized to invalid
in resource_build_info_frame except for spd.  This appears to be simply
an oversight.

 drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
index ae8b221..f966f23 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
@@ -2152,6 +2152,7 @@ void resource_build_info_frame(struct pipe_ctx *pipe_ctx)
 	info->avi.valid = false;
 	info->gamut.valid = false;
 	info->vendor.valid = false;
+	info->spd.valid = false;
 	info->hdrsmd.valid = false;
 	info->vsc.valid = false;
 
-- 
2.9.3



More information about the amd-gfx mailing list