OSDN Git Service

drm: move content protection property to mode_config
authorRamalingam C <ramalingam.c@intel.com>
Tue, 7 May 2019 16:27:35 +0000 (21:57 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 May 2019 07:44:41 +0000 (09:44 +0200)
commit585b000de23ba06818975734da2303bd6ba2dcdd
tree700a8daaece08b415ab052b2a6687c842acfca27
parent0152b3b3f49b36b0f1a1bf9f0353dc636f41d8f0
drm: move content protection property to mode_config

Content protection property is created once and stored in
drm_mode_config. And attached to all HDCP capable connectors.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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-2-ramalingam.c@intel.com
drivers/gpu/drm/drm_atomic_uapi.c
drivers/gpu/drm/drm_connector.c
include/drm/drm_connector.h
include/drm/drm_mode_config.h