drm/amd/display: Create dpcd and i2c packing functions
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 16 May 2019 15:57:52 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:58 +0000 (09:10 -0500)
commit55b50e68b5dd32d82d7a84f00b6bfbfc405a1cef
tree4d3b4f797fdf0857a2dba78367ece0add277d8e7
parenta193ed2094ba2f8d3c103216832586482efe5fc5
drm/amd/display: Create dpcd and i2c packing functions

[Why]
We need to read and write specific i2c and dpcd messages.

[How]
Created static functions for packing the dpcd and i2c messages for hdcp.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-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_hdcp.c