drm: Move drm_encoder_crtc_ok() to core
authorThierry Reding <treding@nvidia.com>
Mon, 13 Jan 2014 13:33:20 +0000 (14:33 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 14 Jan 2014 13:35:11 +0000 (14:35 +0100)
commit3d887368701ef78fe17fc998fe5a74ac8f7c6d4c
treeadaa657a33d717c4d2eba5460963b5d1e3c988e9
parentdb5f7a6e78303fd96dc87487d6976145f70ab84a
drm: Move drm_encoder_crtc_ok() to core

Using the new drm_crtc_mask() function, drm_encoder_crtc_ok() can now be
written in a significantly shorter way, so it can be moved to a header
file and be made static inline.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc.h