drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
Lyude Paul authored
commit ac2d9275

 upstream.

In order to be able to use bpc values that are different from what the
connector reports, we want to be able to store the bpc value we decide
on using for an atomic state in nv50_head_atom and refer to that instead
of simply using the value that the connector reports throughout the
whole atomic check phase and commit phase. This will let us (eventually)
implement the max bpc connector property, and will also be needed for
limiting the bpc we use on MST displays to 8 in the next commit.
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Fixes: 232c9eec ("drm/nouveau: Use atomic VCPI helpers for MST")
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Juston Li <juston.li@intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Laurent Pinchar...
54c9347f
Name Last commit Last update
..
dispnv04 drm/nouveau/dispnv04: Remove runtime PM
dispnv50 drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
include drm/nouveau/gpio: check function 76 in the power check as well
nvif drm/nouveau/mmu: use struct_size() helper
nvkm Merge tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm
Kbuild drm/nouveau: fix bogus GPL-2 license header
Kconfig mm: remove CONFIG_MIGRATE_VMA_HELPER
nouveau_abi16.c drm/nouveau: remove open-coded drm_invalid_op()
nouveau_abi16.h drm/nouveau: remove open-coded drm_invalid_op()
nouveau_acpi.c drm/nouveau: fix bogus GPL-2 license header
nouveau_acpi.h drm/nouveau: fix bogus GPL-2 license header
nouveau_backlight.c drm/nouveau: register backlight on pascal and newer
nouveau_bios.c drm/nouveau/bios: downgrade absence of tmds table to info from an error
nouveau_bios.h drm/nouveau/nouveau: bios pointers may be unaligned, use proper accessors
nouveau_bo.c drm/nouveau: Fix ordering between TTM and GEM release
nouveau_bo.h drm/nouveau: Fix fallout from reservation object rework
nouveau_chan.c drm/nouveau/svm: initial support for shared virtual memory
nouveau_chan.h drm/nouveau: fix bogus GPL-2 license header
nouveau_connector.c drm/nouveau: drop use of drmp.h
nouveau_connector.h drm/nouveau/drm/nouveau: Don't forget to label dp_aux devices
nouveau_crtc.h drm/nouveau: drop drmP.h from all header files
nouveau_debugfs.c drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
nouveau_debugfs.h drm/nouveau: drop drmP.h from all header files
nouveau_display.c drm/nouveau: drop use of drmp.h
nouveau_display.h drm/nouveau: drop drmP.h from nouveau_drv.h
nouveau_dma.c
nouveau_dma.h
nouveau_dmem.c
nouveau_dmem.h
nouveau_dp.c
nouveau_drm.c
nouveau_drv.h
nouveau_encoder.h
nouveau_fbcon.c
nouveau_fbcon.h
nouveau_fence.c
nouveau_fence.h
nouveau_gem.c
nouveau_gem.h
nouveau_hwmon.c
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_svm.c
nouveau_svm.h
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c
nouveau_vga.h
nouveau_vmm.c
nouveau_vmm.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fbcon.c
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c
nvc0_fence.c