diff options
author | Rajat Jain <rajatja@google.com> | 2022-01-07 22:02:06 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-01-10 14:17:37 +0300 |
commit | 30598d925d466c53c4c218a58f80e043cfe9b085 (patch) | |
tree | 36f18c5df9338fe87af1be984e244a3c06076848 /block/opal_proto.h | |
parent | 3dbc84a595d17f64f14fcea00120d31e33e98880 (diff) | |
download | linux-30598d925d466c53c4c218a58f80e043cfe9b085.tar.xz |
drm/privacy_screen: Add drvdata in drm_privacy_screen
Allow a privacy screen provider to stash its private data pointer in the
drm_privacy_screen, and update the drm_privacy_screen_register() call to
accept that. Also introduce a *_get_drvdata() so that it can retrieved
back when needed.
This also touches the IBM Thinkpad platform driver, the only user of
privacy screen today, to pass NULL for now to the updated API.
Signed-off-by: Rajat Jain <rajatja@google.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220107190208.95479-1-rajatja@google.com
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions