]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/nouveau: Stop using drm_crtc_force_disable
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Dec 2018 19:42:58 +0000 (20:42 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8053d056fbbcf98559cff27763ff7c4ebfdb29c8
tree9432bcfedcb25f2a5d737462049853a8238f2372
parent2c942003a808df4b2cac2b6790bb1b17a022ddad
drm/nouveau: Stop using drm_crtc_force_disable

BugLink: https://bugs.launchpad.net/bugs/1838116
[ Upstream commit 934c5b32a5e43d8de2ab4f1566f91d7c3bf8cb64 ]

The correct way for legacy drivers to update properties that need to
do a full modeset, is to do a full modeset.

Note that we don't need to call the drm_mode_config_internal helper
because we're not changing any of the refcounted paramters.

v2: Fixup error handling (Ville). Since the old code didn't bother
I decided to just delete it instead of adding even more code for just
error handling.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181217194303.14397-2-daniel.vetter@ffwll.ch
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c