[Intel-gfx] [PATCH v2 0/3] drm/i915: Misc improvements around module params

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 22 15:03:41 UTC 2017


Quoting Michal Wajdeczko (2017-06-09 11:27:54)
> Earlier RFC proposed to extend param macros with default values.
> This series goes step further.
> 
> v2: rename modparam instead of i915_params field
> 
> Michal Wajdeczko (3):
>   drm/i915: Rename lvds_use_ssc modparam to panel_use_ssc
>   drm/i915: Extend PARAMS_FOR_EACH macro with more data
>   drm/i915/debugfs: Highlight modified i915 params

Whilst having it as a single large macro is unwieldy, it is just pulling
together the modparam macros into one large block. I was pondering if we
could use the modparam .section to decode the parameters later, but the
features added and the code consolidation here is worth the larger macro.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list