]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: generic fn converting be24 to cpu and vice versa
authorRamalingam C <ramalingam.c@intel.com>
Tue, 7 May 2019 16:27:37 +0000 (21:57 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 May 2019 07:44:41 +0000 (09:44 +0200)
commit0de655cae416b20ed7876adb480e5c65810274ea
tree9f9891ab49f7adbd6ec99149c055f1c275310233
parent43318c0ae38f78a1e3b2509b63bc8523daaa806b
drm: generic fn converting be24 to cpu and vice versa

Existing functions for converting a 3bytes(be24) of big endian value
into u32 of little endian and vice versa are renamed as

s/drm_hdcp2_seq_num_to_u32/drm_hdcp_be24_to_cpu
s/drm_hdcp2_u32_to_seq_num/drm_hdcp_cpu_to_be24

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
cc: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190507162745.25600-4-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_hdcp.c
drivers/misc/mei/hdcp/mei_hdcp.c
include/drm/drm_hdcp.h