Home
last modified time | relevance | path

Searched +full:mali +full:- +full:dp650 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/display/
H A Darm,malidp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Arm Mali Display Processor (Mali-DP)
10 - Liviu Dudau <Liviu.Dudau@arm.com>
11 - Andre Przywara <andre.przywara@arm.com>
15 licensable IP by ARM Ltd. The bindings describe the Mali DP500, DP550 and
16 DP650 processors that offer multiple composition layers, support for
22 - arm,mali-dp500
23 - arm,mali-dp550
[all …]
/openbmc/linux/drivers/gpu/drm/arm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
27 tristate "ARM Mali Display Processor"
34 Choose this option if you want to compile the ARM Mali Display
35 Processor driver. It supports the DP500, DP550 and DP650 variants
38 If compiled as a module it will be called mali-dp.
H A Dmalidp_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * ARM Mali DP500/DP550/DP650 registers definition.
14 * - DC - display core (general settings)
15 * - DE - display engine
16 * - SE - scaling engine
194 #define MALIDP500_LV_YUV2RGB ((s16)(-0xB8))
218 * - RED_ARQOS @ A 4-bit signal value for close to underflow conditions
219 * - GREEN_ARQOS @ A 4-bit signal value for normal conditions
223 /* register offsets and bits specific to DP550/DP650 */
262 /* register offsets specific to DP650 */
[all …]
H A Dmalidp_drv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * ARM Mali DP500/DP550/DP650 KMS/DRM driver structures
H A Dmalidp_drv.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * ARM Mali DP500/DP550/DP650 KMS/DRM driver
55 hwdev->hw->map.coeffs_base + MALIDP_COEF_TABLE_ADDR); in malidp_write_gamma_table()
58 hwdev->hw->map.coeffs_base + in malidp_write_gamma_table()
66 struct malidp_hw_device *hwdev = malidp->dev; in malidp_atomic_commit_update_gamma()
68 if (!crtc->state->color_mgmt_changed) in malidp_atomic_commit_update_gamma()
71 if (!crtc->state->gamma_lut) { in malidp_atomic_commit_update_gamma()
77 to_malidp_crtc_state(crtc->state); in malidp_atomic_commit_update_gamma()
79 if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id != in malidp_atomic_commit_update_gamma()
80 old_state->gamma_lut->base.id)) in malidp_atomic_commit_update_gamma()
[all …]
H A Dmalidp_hw.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * ARM Mali DP500/DP550/DP650 hardware manipulation routines. This is where
29 MW_ONESHOT, /* SE in one-shot mode for writeback */
196 [MALIDP_UPSCALING_COEFFS - 1] = {
210 [MALIDP_DOWNSCALING_1_5_COEFFS - 1] = {
224 [MALIDP_DOWNSCALING_2_COEFFS - 1] = {
238 [MALIDP_DOWNSCALING_2_75_COEFFS - 1] = {
252 [MALIDP_DOWNSCALING_4_COEFFS - 1] = {
276 hwdev->min_line_size = 2; in malidp500_query_hw()
277 hwdev->max_line_size = SZ_2K * ln_size_mult; in malidp500_query_hw()
[all …]
H A Dmalidp_crtc.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * ARM Mali DP500/DP550/DP650 driver (crtc operations)
29 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_mode_valid()
35 long rate, req_rate = mode->crtc_clock * 1000; in malidp_crtc_mode_valid()
38 rate = clk_round_rate(hwdev->pxlclk, req_rate); in malidp_crtc_mode_valid()
53 struct malidp_hw_device *hwdev = malidp->dev; in malidp_crtc_atomic_enable()
55 int err = pm_runtime_get_sync(crtc->dev->dev); in malidp_crtc_atomic_enable()
62 drm_display_mode_to_videomode(&crtc->state->adjusted_mode, &vm); in malidp_crtc_atomic_enable()
63 clk_prepare_enable(hwdev->pxlclk); in malidp_crtc_atomic_enable()
66 clk_set_rate(hwdev->pxlclk, crtc->state->adjusted_mode.crtc_clock * 1000); in malidp_crtc_atomic_enable()
[all …]
/openbmc/u-boot/drivers/video/
H A Dmali_dp.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016-2018 ARM Ltd.
127 while (tries--) { in malidp_wait_configdone()
128 status = readl(malidp->dc_status_addr); in malidp_wait_configdone()
129 if ((status >> malidp->config_bit_shift) & 1) in malidp_wait_configdone()
135 return -ETIMEDOUT; in malidp_wait_configdone()
145 setbits_le32(malidp->dc_control_addr, 1 << malidp->config_bit_shift); in malidp_enter_config()
154 clrbits_le32(malidp->dc_control_addr, 1 << malidp->config_bit_shift); in malidp_leave_config()
161 u32 val = MALIDP_H_SYNCWIDTH(timings->hsync_len.typ) | in malidp_setup_timings()
162 MALIDP_V_SYNCWIDTH(timings->vsync_len.typ); in malidp_setup_timings()
[all …]
H A DKconfig13 to display a command-line console or splash screen. Enabling this
24 This driver can be use with "simple-panel" and
26 (leds/backlight/pwm-backlight.txt)
34 This driver can be used with "simple-panel" and
36 (leds/backlight/gpio-backlight.txt)
39 bool "Support 8-bit-per-pixel displays"
43 Support drawing text and bitmaps onto a 8-bit-per-pixel display.
49 bool "Support 16-bit-per-pixel displays"
53 Support drawing text and bitmaps onto a 16-bit-per-pixel display.
59 bool "Support 32-bit-per-pixel displays"
[all …]