From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Extend ATI Radeon driver to support more video modes
Date: Fri, 15 Feb 2008 11:02:31 +0100 [thread overview]
Message-ID: <20080215100231.GA4599@game.jcrosoft.org> (raw)
In-Reply-To: <20080215092413.GC8190@enneenne.com>
On 10:24 Fri 15 Feb , Rodolfo Giometti wrote:
> On Thu, Feb 14, 2008 at 01:39:14AM +0100, Wolfgang Denk wrote:
> > In message <47B38277.6010001@denx.de> you wrote:
> > >
> > > >> +#if 1 /* @ 60 Hz */
> > > >> + mode->crtc_h_total_disp = 0x009f00d2;
> > > >> + mode->crtc_h_sync_strt_wid = 0x000e0528;
> > > >> + mode->crtc_v_total_disp = 0x03ff0429;
> > > >> + mode->crtc_v_sync_strt_wid = 0x00030400;
> > > >> + mode->crtc_pitch = 0x00a000a0;
> > > >> + mode->ppll_div_3 = 0x00010060;
> > > >> +#else /* @ 75 Hz */
> > > >> + mode->crtc_h_total_disp = 0x009f00d2;
> > > >> + mode->crtc_h_sync_strt_wid = 0x00120508;
> > > >> + mode->crtc_v_total_disp = 0x03ff0429;
> > > >> + mode->crtc_v_sync_strt_wid = 0x00030400;
> > > >> + mode->crtc_pitch = 0x00a000a0;
> > > >> + mode->ppll_div_3 = 0x00010078;
> > > >> +#endif
> > > >
> > > > Mmm... better adding a configuration define here or just remove the
> > > > unused code.
> > >
> > > Ok, I'm going to drop the unused code then.
> >
> > No, please keep it as reference in case anybody needs this later.
>
> Uh? =:-o Why did you change your mind? ;)
>
> | Delivery-date: Sun, 01 Apr 2007 15:18:41 +0200
> | From: Wolfgang Denk <wd@denx.de>
> | To: Rodolfo Giometti <giometti@enneenne.com>
> | cc: Markus Klotzb?cher <mk@denx.de>
> | Subject: Re: [PATCH] ISP116x HCD (Host Controller Driver)
> |
> | [snip]
> |
> | Please remove code in "#if 0 ... #endif" blocks.
> |
> | [snip]
> |
> | Best regards,
> |
> | Wolfgang Denk
>
> However I suggested also to add a configuration define, something
> like:
>
> #if defined(CFG_ATI_RADEON_60HZ)
> ...
> #elif defined(CFG_ATI_RADEON_75HZ)
> ...
> #else
> #error "..."
> #endif
>
Please use CONFIG and not CFG too allow this parameter in Kconfig
Best Regards,
J.
next prev parent reply other threads:[~2008-02-15 10:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 19:42 [U-Boot-Users] [PATCH] Extend ATI Radeon driver to support more video modes Anatolij Gustschin
2008-02-12 8:20 ` Rodolfo Giometti
2008-02-13 23:51 ` Anatolij Gustschin
2008-02-14 0:39 ` Wolfgang Denk
2008-02-15 9:24 ` Rodolfo Giometti
2008-02-15 10:02 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-02-15 10:33 ` Anatolij Gustschin
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-all 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=20080215100231.GA4599@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/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