[Intel-gfx] [PATCH] intel: Listen for hotplug uevents (V2)

Geir Ove Myhr gomyhr at gmail.com
Mon Oct 4 12:51:19 CEST 2010


On Mon, Oct 4, 2010 at 1:08 AM, Keith Packard <keithp at keithp.com> wrote:
> From: Adam Jackson <ajax at redhat.com>
> ...
> +++ b/src/intel_driver.c
> @@ -107,6 +107,7 @@ typedef enum {
>    OPTION_DEBUG_FLUSH_BATCHES,
>    OPTION_DEBUG_FLUSH_CACHES,
>    OPTION_DEBUG_WAIT,
> +   OPTION_HOTPLUG,
>  } I830Opts;
>
>  static OptionInfoRec I830Options[] = {
> @@ -125,6 +126,7 @@ static OptionInfoRec I830Options[] = {
>    {OPTION_DEBUG_FLUSH_BATCHES, "DebugFlushBatches", OPTV_BOOLEAN, {0}, FALSE},
>    {OPTION_DEBUG_FLUSH_CACHES, "DebugFlushCaches", OPTV_BOOLEAN, {0}, FALSE},
>    {OPTION_DEBUG_WAIT, "DebugWait", OPTV_BOOLEAN, {0}, FALSE},
> +   {OPTION_HOTPLUG,    "HotPlug",      OPTV_BOOLEAN,   {0},    TRUE},
>    {-1,                        NULL,           OPTV_NONE,      {0},    FALSE}
>  };
>  /* *INDENT-ON* */

The HotPlug option should also be added to the intel man page, right?

Geir Ove



More information about the Intel-gfx mailing list