diff options
| author | Keith Packard <[email protected]> | 2017-03-15 06:25:07 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2017-10-12 00:03:04 +0000 |
| commit | 418da17214aca5ef5f0b6f7588905ee7df92f98f (patch) | |
| tree | 8deaeb99bc4f16428c31355fb2e723515925cdc5 /drivers/gpu/drm/udl/udl_connector.c | |
| parent | Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux int... (diff) | |
| download | kernel-418da17214aca5ef5f0b6f7588905ee7df92f98f.tar.gz kernel-418da17214aca5ef5f0b6f7588905ee7df92f98f.zip | |
drm: Pass struct drm_file * to __drm_mode_object_find [v2]
This will allow __drm_mode_object_file to be extended to perform
access control checks based on the file in use.
v2: Also fix up vboxvideo driver in staging
[airlied: merging early as this is an API change]
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/udl/udl_connector.c')
| -rw-r--r-- | drivers/gpu/drm/udl/udl_connector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_connector.c b/drivers/gpu/drm/udl/udl_connector.c index 9f9a49748d17..091ca81658eb 100644 --- a/drivers/gpu/drm/udl/udl_connector.c +++ b/drivers/gpu/drm/udl/udl_connector.c @@ -105,7 +105,7 @@ static struct drm_encoder* udl_best_single_encoder(struct drm_connector *connector) { int enc_id = connector->encoder_ids[0]; - return drm_encoder_find(connector->dev, enc_id); + return drm_encoder_find(connector->dev, NULL, enc_id); } static int udl_connector_set_property(struct drm_connector *connector, |
