lkml.org 
[lkml]   [2007]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] atmel_lcdfb: Fix wrong line_length calculation
    Haavard Skinnemoen :
    > As Jan Altenberg pointed out, line_length will always be 0 if
    > bits_per_pixel < 8. Fix this and also make sure that we round up to
    > the nearest byte.
    >
    > Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
    > ---
    > I haven't tested this with any real program that uses the frame buffer,
    > but fbset seems to report sane values for line_length:

    Thank you Haavard.

    I have a bigger patch for all the support for STN display (tested with
    mono STN display). It is based on the work from Jan Altenberg.

    This bigger patch includes your modifications.

    I send it right now. As a separate message.

    Haavard, can you check if the compute_hozval()
    function is ok on avr32 (I have reviewed with the at32ap7000 and hope
    that it is ok) ?


    Regards,
    --
    Nicolas Ferre


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-15 11:01    [W:0.025 / U:0.684 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site