drm/i915/display: Use device parameters instead of module in I915_STATE_WARN
authorJouni Högander <jouni.hogander@intel.com>
Tue, 24 Oct 2023 12:41:06 +0000 (15:41 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 26 Oct 2023 09:16:11 +0000 (12:16 +0300)
commit514bec3387426f42e88a49bf62f9b0f5eb528b9e
tree79592fdf5498848b7a15e8b013d11bd8ef883842
parentd3e6d002ed203d8beb66cfdf7eed948ed963ef94
drm/i915/display: Use device parameters instead of module in I915_STATE_WARN

Also make module parameter as non writable.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231024124109.384973-21-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/i915_params.c