• Daniel Vetter's avatar
    drm/komeda: remove img_enhancement property · a76f612c
    Daniel Vetter authored
    Properties are uapi like anything else, with all the usual rules
    regarding review, testcases, open source userspace ... Furthermore
    driver-private kms properties are highly discouraged, over the past
    few years we've realized we need to make a serious effort at better
    standardizing this stuff.
    
    Again this probably needs multiple pieces to solve this properly:
    
    - Instead of expecting userspace to compute this (and duplicating
      modeset code), the kernel driver should compute when it's possible
      to enable this better up/downscale mode (assuming I understood
      Liviu correctly on what this does) automatically.
    
    - If this is needed for validation then you want a debugfs file to
      force this one way or the other, or alternatively  use
      ->atomic_print_state to dump such hidden driver-private state.
      Depends upon how you do your validation ofc.
    
    Fixes: 42b6f118 ("drm/komeda: Add image enhancement support")
    Cc: Lowry Li (Arm Technology China) <lowry.li@arm.com>
    Cc: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
    Cc: Liviu Dudau <liviu.dudau@arm.com>
    Cc: Mali DP Maintainers <malidp@foss.arm.com>
    Cc: Brian Starkey <brian.starkey@arm.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190705121006.26085-3-daniel.vetter@ffwll.ch
    a76f612c
komeda_plane.c 10 KB