public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@bsdio.com>
To: Ard Biesheuvel <ardb@kernel.org>,
	edk2-devel-groups-io <devel@edk2.groups.io>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>
Subject: Re: [edk2-devel] [PATCH 1/1] ArmPlatformPkg: Comment out overly verbose DEBUG lines in LcdGraphicsBlt
Date: Tue, 3 May 2022 14:08:10 -0600	[thread overview]
Message-ID: <c5b14efb-a95d-1822-0686-169557ee902a@bsdio.com> (raw)
In-Reply-To: <CAMj1kXEWsBLwSrP1bGH_Q5HkRN2MYATbNBwu2gK7Z=nMrgWx4Q@mail.gmail.com>

I think with the PL111 being such old technology now it should be safe 
to just remove them.


-- 
Rebecca Cran


On 5/3/22 13:43, Ard Biesheuvel wrote:
> Hi Rebecca,
>
> On Tue, 3 May 2022 at 21:31, Rebecca Cran <rebecca@bsdio.com> wrote:
>> The DEBUG output in LcdGraphicsBlt is overly verbose, and makes using
>> the console difficult, for example when using the UiApp.
>>
>> To allow for easy inclusion for future debugging, comment out but don't
>> remove the DEBUG lines.
>>
> I'd suggest to either demote the debug level to DEBUG_VERBOSE, or
> simply remove them, instead of using comments like this.
>
>> Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
>> ---
>>   ...utBlt.c | 22 +++---
>>   1 file changed, 11 insertions(+), 11 deletions(-)
>>
>> diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputBlt.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputBlt.c
>> index 01ec6f68bd93..4766d72cef28 100644
>> --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputBlt.c
>> +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputBlt.c
>> @@ -815,17 +815,17 @@ LcdGraphicsBlt (
>>     HorizontalResolution = This->Mode->Info->HorizontalResolution;
>>     VerticalResolution   = This->Mode->Info->VerticalResolution;
>>
>> -  DEBUG ((
>> -    DEBUG_INFO,
>> -    "LcdGraphicsBlt (BltOperation:%d,DestX:%d,DestY:%d,Width:%d,Height:%d) res(%d,%d)\n",
>> -    BltOperation,
>> -    DestinationX,
>> -    DestinationY,
>> -    Width,
>> -    Height,
>> -    HorizontalResolution,
>> -    VerticalResolution
>> -    ));
>> +//  DEBUG ((
>> +//    DEBUG_INFO,
>> +//    "LcdGraphicsBlt (BltOperation:%d,DestX:%d,DestY:%d,Width:%d,Height:%d) res(%d,%d)\n",
>> +//    BltOperation,
>> +//    DestinationX,
>> +//    DestinationY,
>> +//    Width,
>> +//    Height,
>> +//    HorizontalResolution,
>> +//    VerticalResolution
>> +//    ));
>>
>>     // Check we have reasonable parameters
>>     if ((Width == 0) || (Height == 0)) {
>> --
>> 2.25.1
>>
>>
>>
>> 
>>
>>

      reply	other threads:[~2022-05-03 20:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 19:31 [PATCH 1/1] ArmPlatformPkg: Comment out overly verbose DEBUG lines in LcdGraphicsBlt Rebecca Cran
2022-05-03 19:43 ` [edk2-devel] " Ard Biesheuvel
2022-05-03 20:08   ` Rebecca Cran [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c5b14efb-a95d-1822-0686-169557ee902a@bsdio.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox