diff options
author | Maarten Lankhorst | 2019-03-01 13:56:12 +0100 |
---|---|---|
committer | Maarten Lankhorst | 2019-04-24 11:51:30 +0200 |
commit | 7d26097b4beb802fb6ce7cd6389ac4bf12b1a6ae (patch) | |
tree | 30f4686e2fe67b2527dc98bae989eafe6af40eb6 /lib/lockref.c | |
parent | 9158e3c31163488364c76bf6948507e7640d511f (diff) |
drm/atomic: Create __drm_atomic_helper_crtc_reset() for subclassing crtc_state.
We already have __drm_atomic_helper_connector_reset() and
__drm_atomic_helper_plane_reset(), extend this to crtc as well.
This will allow us to set default values in the crtc_state, without
having to do it in each driver separately.
Of all drivers that need conversion, only nouveau is done in this
commit, because it wrote its own __drm_atomic_helper_crtc_reset(),
clashing with the drm core.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190301125627.7285-3-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions