[PATCH] Only log debugging output about initializing colormaps when we're doing so

Alex Deucher alexdeucher at gmail.com
Mon Feb 24 06:27:48 PST 2014


On Sun, Feb 23, 2014 at 11:12 PM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/drmmode_display.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 641e231..02bdf9e 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1941,9 +1941,9 @@ Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn)
>  {
>      xf86CrtcConfigPtr   xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
>
> -    xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
> -                  "Initializing kms color map\n");
>      if (xf86_config->num_crtc) {
> +       xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
> +                      "Initializing kms color map\n");
>         if (!miCreateDefColormap(pScreen))
>             return FALSE;
>         /* all radeons support 10 bit CLUTs */
> --
> 1.9.0
>
>
> _______________________________________________
> xorg-driver-ati mailing list
> xorg-driver-ati at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati


More information about the xorg-driver-ati mailing list