diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-12-20 14:21:19 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2018-12-25 09:10:00 +0100 |
commit | f69a0d71d49cbd22dab85e9654ec7a8fc7a7d057 (patch) | |
tree | d8de38df7aeea3165e942ac634be48f0a21e30d3 /scripts/gdb/linux/utils.py | |
parent | 608ed4ab240f2d09f2fc1e5f8631dfe8570f9f80 (diff) |
drm/i915: Allow calling intel_edp_drrs_enable twice
Do not make it an error to call intel_edp_drrs_enable while drrs has
already been enabled, instead exit silently in this case.
This is a preparation patch for ensuring that DRRS is enabled on fastsets.
Note that the removed WARN_ON could also be triggered from userspace
through the i915_drrs_ctl debugfs entry which was added by
commit 35954e88bc50 ("drm/i915: Runtime disable for eDP DRRS")
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181220132120.15318-2-hdegoede@redhat.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions