Compare commits
9 commits
94b49cc288
...
351c8fe478
Author | SHA1 | Date | |
---|---|---|---|
351c8fe478 | |||
15b4d6fca9 | |||
a823d9bbee | |||
cc892a2b98 | |||
569813cabd | |||
![]() |
dae01dfeeb | ||
![]() |
015d8c3b74 | ||
eb3d0cf0d2 | |||
3372fe8678 |
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,7 @@ void MaxwellDMA::Launch() {
|
||||||
// TODO(Subv): Perform more research and implement all features of this engine.
|
// TODO(Subv): Perform more research and implement all features of this engine.
|
||||||
const LaunchDMA& launch = regs.launch_dma;
|
const LaunchDMA& launch = regs.launch_dma;
|
||||||
ASSERT(launch.interrupt_type == LaunchDMA::InterruptType::NONE);
|
ASSERT(launch.interrupt_type == LaunchDMA::InterruptType::NONE);
|
||||||
|
ASSERT(launch.data_transfer_type == LaunchDMA::DataTransferType::NON_PIPELINED);
|
||||||
|
|
||||||
if (launch.multi_line_enable) {
|
if (launch.multi_line_enable) {
|
||||||
const bool is_src_pitch = launch.src_memory_layout == LaunchDMA::MemoryLayout::PITCH;
|
const bool is_src_pitch = launch.src_memory_layout == LaunchDMA::MemoryLayout::PITCH;
|
||||||
|
@ -156,6 +157,8 @@ void MaxwellDMA::Launch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MaxwellDMA::CopyBlockLinearToPitch() {
|
void MaxwellDMA::CopyBlockLinearToPitch() {
|
||||||
|
UNIMPLEMENTED_IF(regs.launch_dma.remap_enable != 0);
|
||||||
|
|
||||||
u32 bytes_per_pixel = 1;
|
u32 bytes_per_pixel = 1;
|
||||||
DMA::ImageOperand src_operand;
|
DMA::ImageOperand src_operand;
|
||||||
src_operand.bytes_per_pixel = bytes_per_pixel;
|
src_operand.bytes_per_pixel = bytes_per_pixel;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue