bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc
Ken Chalmers ece4147fea drm/amd/display: Fix new stream count check in dc_add_stream_to_ctx
[Why]
The previous code could allow through attempts to enable more streams
than there are timing generators, in designs where the number of pipes
is greater than the number of timing generators.

[How]
Compare the new stream count to the resource pool's timing generator
count, instead of its pipe count.  Also correct a typo in the error
message.

Signed-off-by: Ken Chalmers <ken.chalmers@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-13 14:52:00 -05:00
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios drm/amd/display: fix incorrect check for atom table size 2018-07-13 14:47:39 -05:00
calcs drm/amd/display: dcc always on for bw calculations on raven 2018-07-13 14:48:55 -05:00
core drm/amd/display: Fix new stream count check in dc_add_stream_to_ctx 2018-07-13 14:52:00 -05:00
dce drm/amd/display: add DalEnableHDMI20 key support 2018-07-13 14:51:11 -05:00
dce80 drm/amd/display: rename dce_disp_clk to dccg 2018-07-05 16:38:33 -05:00
dce100 drm/amd/display: rename dce_disp_clk to dccg 2018-07-05 16:38:33 -05:00
dce110 drm/amd/display: Add NULL check for local sink in edp_power_control 2018-07-13 14:51:28 -05:00
dce112 drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
dce120 drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz 2018-07-05 16:38:51 -05:00
dcn10 drm/amd/display: Expose couple OPTC functions through header 2018-07-13 14:51:47 -05:00
dml drm/amd/display: remove soc_bounding_box.c 2018-07-05 16:38:43 -05:00
gpio drm/amd/display: set default GPIO_ID_HPD 2018-07-13 14:49:59 -05:00
i2caux drm/amd/display: introduce concept of send_reset_length for i2c engines 2018-07-13 14:51:04 -05:00
inc drm/amd/display: Expose bunch of functions from dcn10_hw_sequencer 2018-07-13 14:50:40 -05:00
irq drm/amd/display: off by one in find_irq_source_info() 2018-07-05 16:40:02 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
dc.h drm/amd/display: add DalEnableHDMI20 key support 2018-07-13 14:51:11 -05:00
dc_bios_types.h drm/amd/display: get board layout for edid emulation 2018-07-05 16:38:45 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests 2018-06-15 12:22:09 -05:00
dc_helper.c drm/amd/display: generic indirect register access 2018-07-13 14:47:33 -05:00
dc_hw_types.h drm/amd/display: add dcn cursor hotsport rotation and mirror support 2018-07-13 14:50:05 -05:00
dc_link.h drm/amd/display: Return out_link_loss from interrupt handler 2018-07-13 14:51:34 -05:00
dc_stream.h drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
dc_types.h drm/amd/display: Patch for extend time to panel poweron. 2018-07-13 14:49:29 -05:00
dm_helpers.h drm/amd/display: Serialize is_dp_sink_present 2018-07-13 14:48:21 -05:00
dm_pp_smu.h drm/amd/display: Introduce pp-smu raven functions 2018-07-05 16:38:30 -05:00
dm_services.h amdgpu: display: use modern ktime accessors 2018-06-19 13:17:38 -05:00
dm_services_types.h drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz 2018-07-05 16:38:51 -05:00
irq_types.h drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
os_types.h drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00