]> www.infradead.org Git - nvme.git/commit
drm/i915/dsb: Add i915.enable_dsb module parameter
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Jun 2024 13:33:41 +0000 (16:33 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Jun 2024 12:40:01 +0000 (15:40 +0300)
commit7562c88be8acf3898cd5d35cb5e83611139636f1
treeda7e493c2e704349acba6e1dd4f13bb199d417fa
parent4a74de91056d640aa6b4025fc01330313ce22fdc
drm/i915/dsb: Add i915.enable_dsb module parameter

As we extend the use of DSB for critical pipe/plane register
programming, it'll be nice to have an escape valve at hand,
in case things go very poorly. To that end, add a i915.enable_dsb
modparam by which we can force the driver to take the pure mmio
path instead.

v2: Use 0400 permissions for the actual modparam (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240611133344.30673-9-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_params.c
drivers/gpu/drm/i915/display/intel_display_params.h
drivers/gpu/drm/i915/display/intel_dsb.c