devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20220912013006.27541-5-jason-jh.lin@mediatek.com>]
  • [parent not found: <20220912013006.27541-6-jason-jh.lin@mediatek.com>]
  • [parent not found: <20220912013006.27541-9-jason-jh.lin@mediatek.com>]
  • [parent not found: <20220912013006.27541-2-jason-jh.lin@mediatek.com>]
  • [parent not found: <20220912013006.27541-3-jason-jh.lin@mediatek.com>]
  • * Re: [PATCH RESEND v3 0/9] Add gamma lut support for mt8195
           [not found] <20220912013006.27541-1-jason-jh.lin@mediatek.com>
                       ` (5 preceding siblings ...)
           [not found] ` <20220912013006.27541-3-jason-jh.lin@mediatek.com>
    @ 2023-04-26 11:43 ` AngeloGioacchino Del Regno
      2023-04-27 15:15   ` AngeloGioacchino Del Regno
           [not found] ` <20220912013006.27541-7-jason-jh.lin@mediatek.com>
      7 siblings, 1 reply; 11+ messages in thread
    From: AngeloGioacchino Del Regno @ 2023-04-26 11:43 UTC (permalink / raw)
      To: Jason-JH.Lin, Chun-Kuang Hu, Rob Herring, Krzysztof Kozlowski,
    	Matthias Brugger
      Cc: CK Hu, Rex-BC Chen, Singo Chang, dri-devel, linux-mediatek,
    	devicetree, linux-kernel, linux-arm-kernel,
    	Project_Global_Chrome_Upstream_Group
    
    Il 12/09/22 03:29, Jason-JH.Lin ha scritto:
    > Since the gamma_set_common() function for previous SoC,
    > such as  mt8173 and mt8183, is designed for 9bit-to-10bit
    > conversion.
    > mt8195 is using 10bit-to-12bit conversion, which is
    > not compatible with the previous function.
    > 
    > Thus, need to update the function to fit the need of mt8195.
    
    Hello,
    can you please respin and fix this series on the latest linux-next?
    
    Besides, please test it carefully: as far as I can see, GNOME Night Light
    (or others) are not working on MT8195 (color temperature/ccorr).
    As for gamma itself, that's not working either; you can test it with a tool
    that will create a color profile by applying a new VCGT table, please look
    at [1] if you need tools.
    
    We can confirm that color correction works on at least MT8192 (colord), so
    it's MT8195 at fault.
    
    [1]: https://github.com/zb3/gnome-gamma-tool
    
    Regards,
    Angelo
    
    > ---
    > Change in RESEND v3:
    > Fix build warning
    >>> drivers/gpu/drm/mediatek/mtk_disp_gamma.c:59:14: warning: no previous prototype for 'mtk_gamma_get_size' [-Wmissing-prototypes]
    > 
    > Change in v3:
    > 1. separate 1 dt-binding patch to 2 patches, 1 is for modifying
    >     multiple items list to one and 1 is for moving mt8195 compatible.
    > 2. redefine variables to reduce memory usage.
    > 3. delete unused symbols.
    > 4. separate 1 drm/mediatek patch to 6 patches.
    > 5. rebase on tag 'next-20220909'
    > 
    > Jason-JH.Lin (5):
    >    drm/mediatek: Adjust mtk_drm_gamma_set_common parameters
    >    drm/mediatek: Add gamma support different lut_size for other SoC
    >    drm/mediatek: Add gamma support different lut_bits for other SoC
    >    drm/mediatek: Add gamma support different bank_size for other SoC
    >    drm/mediatek: Add clear RELAY_MODE bit to set gamma
    > 
    > zheng-yan.chen (4):
    >    dt-bindings: mediatek: modify item formatting for gamma
    >    dt-bindings: mediatek: Add gamma compatible for mt8195
    >    drm/mediatek: Add gamma lut support for mt8195
    >    arm64: dts: Modify gamma compatible for mt8195
    > 
    >   .../display/mediatek/mediatek,gamma.yaml      |   8 +-
    >   arch/arm64/boot/dts/mediatek/mt8195.dtsi      |   2 +-
    >   drivers/gpu/drm/mediatek/mtk_disp_aal.c       |   2 +-
    >   drivers/gpu/drm/mediatek/mtk_disp_drv.h       |   3 +-
    >   drivers/gpu/drm/mediatek/mtk_disp_gamma.c     | 115 ++++++++++++++----
    >   drivers/gpu/drm/mediatek/mtk_drm_crtc.c       |   4 +-
    >   drivers/gpu/drm/mediatek/mtk_drm_crtc.h       |   1 -
    >   drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h   |   9 ++
    >   8 files changed, 109 insertions(+), 35 deletions(-)
    > 
    
    
    
    ^ permalink raw reply	[flat|nested] 11+ messages in thread
  • [parent not found: <20220912013006.27541-7-jason-jh.lin@mediatek.com>]

  • end of thread, other threads:[~2023-04-28  6:45 UTC | newest]
    
    Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20220912013006.27541-1-jason-jh.lin@mediatek.com>
         [not found] ` <20220912013006.27541-4-jason-jh.lin@mediatek.com>
         [not found]   ` <44d19c4ea29bdbf3a07890ed25fd637f8805b6c6.camel@mediatek.com>
    2022-09-14  1:10     ` [PATCH RESEND v3 3/9] drm/mediatek: Adjust mtk_drm_gamma_set_common parameters Jason-JH Lin
         [not found] ` <20220912013006.27541-5-jason-jh.lin@mediatek.com>
         [not found]   ` <e1945785da7c56bbb7fe94926c39fc6c3593cdb0.camel@mediatek.com>
    2022-09-14  1:14     ` [PATCH RESEND v3 4/9] drm/mediatek: Add gamma support different lut_size for other SoC Jason-JH Lin
         [not found] ` <20220912013006.27541-6-jason-jh.lin@mediatek.com>
         [not found]   ` <b740f81d62ce73e08a2a43637b4f951298b1c28a.camel@mediatek.com>
    2022-09-14  1:17     ` [PATCH RESEND v3 5/9] drm/mediatek: Add gamma support different lut_bits " Jason-JH Lin
         [not found] ` <20220912013006.27541-9-jason-jh.lin@mediatek.com>
         [not found]   ` <ecdb209437e78b3273374ef963fd2c5c64ba88fd.camel@mediatek.com>
    2022-09-14  1:26     ` [PATCH RESEND v3 8/9] drm/mediatek: Add clear RELAY_MODE bit to set gamma Jason-JH Lin
         [not found] ` <20220912013006.27541-2-jason-jh.lin@mediatek.com>
    2022-09-18  9:59   ` [PATCH RESEND v3 1/9] dt-bindings: mediatek: modify item formatting for gamma Krzysztof Kozlowski
         [not found] ` <20220912013006.27541-3-jason-jh.lin@mediatek.com>
    2022-09-18  9:59   ` [PATCH RESEND v3 2/9] dt-bindings: mediatek: Add gamma compatible for mt8195 Krzysztof Kozlowski
    2023-04-26 11:43 ` [PATCH RESEND v3 0/9] Add gamma lut support " AngeloGioacchino Del Regno
    2023-04-27 15:15   ` AngeloGioacchino Del Regno
    2023-04-28  6:45     ` Jason-JH Lin (林睿祥)
         [not found] ` <20220912013006.27541-7-jason-jh.lin@mediatek.com>
         [not found]   ` <3c67e742bdb06e55ba170a0a6dc79e6f6833c0e7.camel@mediatek.com>
    2022-09-14  1:28     ` [PATCH RESEND v3 6/9] drm/mediatek: Add gamma support different bank_size for other SoC Jason-JH Lin
    2023-04-26 12:06   ` AngeloGioacchino Del Regno
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).