[Intel-gfx] [PATCH] drm/i915: Mark fastboot as unsafe

Paul Menzel paulepanter at users.sourceforge.net
Wed Nov 5 00:03:47 CET 2014


Dear Daniel,


thank you for the support in #intel-gfx at irc.freenode.net and the patch.
As already commented in the bug report #84682, there are some typos.

Am Dienstag, den 04.11.2014, 15:29 +0100 schrieb Daniel Vetter:
> Fastboot in its current incarnation assumes that the pfit isn't
> relevatn for the state and that it can be disabled without restarting

releva*nt*

> the crtc. Unfortunately that's not the case on gen2/3 - it upsets the
> hw and results in a black screen.
> 
> Worse, the way the current fastboot hack is structure we can't detect

structure*d*

> and work around this in the code, since the fastboot smashes the
> adjusted mode into crtc->mode. Which means the higher levels can't
> correctly figure out that this is a lie and act accordingly.
> 
> Since fastboot is just a tech demo let's mark the module option as
> experimental and close the coresponding reports as wontfix.

cor*r*esponding

> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84682
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_params.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
> index c91cb2033cc5..93d792349668 100644
> --- a/drivers/gpu/drm/i915/i915_params.c
> +++ b/drivers/gpu/drm/i915/i915_params.c
> @@ -138,7 +138,7 @@ MODULE_PARM_DESC(disable_power_well,
>  module_param_named(enable_ips, i915.enable_ips, int, 0600);
>  MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)");
>  
> -module_param_named(fastboot, i915.fastboot, bool, 0600);
> +module_param_named_unsafe(fastboot, i915.fastboot, bool, 0600);
>  MODULE_PARM_DESC(fastboot,
>  	"Try to skip unnecessary mode sets at boot time (default: false)");


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20141105/a93f1a7d/attachment.sig>


More information about the Intel-gfx mailing list