summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2022-01-07 22:02:06 +0300
committerHans de Goede <hdegoede@redhat.com>2022-01-10 14:17:37 +0300
commit30598d925d466c53c4c218a58f80e043cfe9b085 (patch)
tree36f18c5df9338fe87af1be984e244a3c06076848 /block
parent3dbc84a595d17f64f14fcea00120d31e33e98880 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions