aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-03-05 08:14:17 +1000
committerDave Airlie <airlied@redhat.com>2019-03-05 08:14:22 +1000
commit4b057e73f28f1df13b77b77a52094238ffdf8abd (patch)
tree816d3abfb3a1a62b08de88265e5fd09f538a1d5d /include/drm/drm_drv.h
parentdrm/amd/display: Use vrr friendly pageflip throttling in DC. (diff)
parentdrm/bochs: Fix the ID mismatch error (diff)
downloadwireguard-linux-4b057e73f28f1df13b77b77a52094238ffdf8abd.tar.xz
wireguard-linux-4b057e73f28f1df13b77b77a52094238ffdf8abd.zip
Merge tag 'drm-misc-fixes-2019-02-22' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-fixes for v5.0: - Block fb changes for async atomic updates to prevent a use after free. - Fix ID mismatch error on load in bochs. - Fix memory leak when drm_setup fails. - Fixes around handling of DRM_AUTH. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/42113611-e2cd-6bdd-7de5-4f8ab5a0cbe6@linux.intel.com
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r--include/drm/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h
index ca46a45a9cce..570f9d03b2eb 100644
--- a/include/drm/drm_drv.h
+++ b/include/drm/drm_drv.h
@@ -767,7 +767,7 @@ static inline bool drm_dev_is_unplugged(struct drm_device *dev)
*
* Returns true if the @feature is supported, false otherwise.
*/
-static inline bool drm_core_check_feature(struct drm_device *dev, u32 feature)
+static inline bool drm_core_check_feature(const struct drm_device *dev, u32 feature)
{
return dev->driver->driver_features & dev->driver_features & feature;
}