Code Monkey home page Code Monkey logo

Comments (2)

nanoandrew4 avatar nanoandrew4 commented on September 24, 2024 1

Same happens with umi, this doesn't happen with this kernel

from kernel_xiaomi_sm8250.

stuartore avatar stuartore commented on September 24, 2024

Same happens with umi, this doesn't happen with this kernel

Summary

It keeps high level of brightness without recovering the brightness level after pressing udfps area. By the way, this kernel do not drive udfps sensor light through setting DISPPARAM_HBM_ON mode to it's path DISPPARAM_PATH currently.

I wonder this commit GrettoRosella/android_kernel_xiaomi_sm8250@ce143e9 maybe give some help.

Details

So I re-write dsi_panel_set_fod_hbm() which will be used in sde_connector.c with another function that contains dsi_panel_set_fod_hbm(). I think I could use dsi_panel_get_brightness() before setting DISPPARAM HBM mode while recovering by dsi_panel_set_backlight() after HBM mode off.

void sde_connector_update_fod_hbm(struct drm_connector *connector)
{
........
dsi_panel_set_fod_hbm(display->panel, status);
......
}

But I'm not so good at c language nor a kernel pro so I failed. Now the problem still happens. Anyone could offer some ideas for the kernel development

from kernel_xiaomi_sm8250.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.