diff options
author | Jani Nikula <[email protected]> | 2024-04-19 12:41:57 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2024-04-22 16:48:13 +0300 |
commit | 068d6e9e7629875bd81583e5dbe65891165254b0 (patch) | |
tree | 8727ceaff26dc8e9fb2e353713ec20530e9a31cd /lib/memory-notifier-error-inject.c | |
parent | 3ffccdd94d6af647c64233ab37fda1a0c1a908c9 (diff) |
drm/i915/dmc: change how to disable DMC firmware using module param
The distinction between the dmc_firmware_path module param being NULL
and the empty string "" is problematic. It's not possible to set the
parameter back to NULL via sysfs or debugfs. Remove the distinction, and
consider NULL and the empty string to be the same thing, and use the
platform default for them.
This removes the possibility to disable DMC (and runtime PM) via
i915.dmc_firmware_path="". Instead, use "/dev/null" as the magic
firmware path to skip DMC firmware loading and disable runtime PM.
v2: Add support for i915.dmc_firmware_path="/dev/null" (Gustavo)
Cc: Gustavo Sousa <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Reviewed-by: Gustavo Sousa <[email protected]>
Acked-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/8695aca8a6643e36bb680bc2dcab97c637e70b00.1713519628.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions